I tried to assign a new value into the hidden input and check box, it's worrking fine in firefox but not in IE (im using IE 7). Does any one know waht is going wrong with my code? Please see below for more informationL:
HTML:
<input type="hidden" id="msg" name="msg" value="" style="display:none"/>
<input type="checkbox" name="sp" value="100" id="sp_100">
Javascript:
var Msg="abc";
document.getElementById('msg').value = Msg;
document.getElementById('sp_100').checked = true;