Hi,
I am using IE8.
I am trying to set value for check_id but it not working in IE8.
but works in firefox.
<script type="text/javascript">
function check_test()
{
var new_url="http://www.abc.com/xyz.php?id=5";
alert(new_url);
document.getElementById("check_id").value=new_url;
}
</script>
</head>
<body>
<form name="mod_frm" method="post" id="mod_frm" action="<?php echo $self;?>" >
<input type="radio" name="pkg_name" value="1" class="styled" checked="checked" />
<input type="radio" name="pkg_name" value="2" class="styled" />
<input id="check_id" name="check_id" type="hidden" value="-1">
<input name="button2" type="button" class="form_btn" id="button2" value="Select Your Module" onclick="check_test();return false;"/>
</form>
</body>
Plz tell me what's the problem?