this is my code and i call this code from code behinde file on page load
like this
useragree.Attri butes.Add("oncl ick", "CheckSelection ();")
this is working fine with IE but not working with fire fox.
in firefox i got error :
Error: CheckSelection is not defined
</script>
like this
useragree.Attri butes.Add("oncl ick", "CheckSelection ();")
this is working fine with IE but not working with fire fox.
in firefox i got error :
Error: CheckSelection is not defined
Code:
<script language="javascript" type="text/jscript">
function CheckSelection()
{
var chk1 = document.getElementById("useragree");
var button =document.getElementById("signup");
if (chk1.checked == true)
{
button.disabled=false;
}
else
{
button.disabled=true;
}
}
Comment