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";

<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;"/>

Plz tell me what's the problem?

try assigning different values for name and id. This should solve the problem.

<input id="id_of_check_id" name="check_id" type="hidden" value="-1">

Good luck,
Ali Baradaran