i have form to send data to other page like:
<input name="ShowBuy" id="ShowBuy" type="radio" value="1" checked = "checked"> Show Buy
<input name="ShowBuy" id="ShowBuy" type="radio" value="0"> Hide Buy <br>
<input name="ShowSale" id="ShowSale" type="radio" value="1" checked = "checked"> Show Sale
<input name="ShowSale" id="ShowSale" type="radio" value="0"> Hide Sale<br>
when i checked Hide Buy and print the result, it show value "1" !!! why, it must show me value "0" . there are code to send :
<script language="JavaScript">
$(function(){
$('#Normal').click(function(){
sessionStorage.ShowSale = $("#ShowSale").val();
sessionStorage.ShowBuy = $("#ShowBuy").val();
window.open('Print.php', '_blank')
});
});
</script>
where problem here.