You need to sign in to do that
Don't have an account?

please correct it
i have 2 checkbox fields if i check one of the checkbox in first field checkbox want to disable another field checkbox checkbox
<script type="text/javascript">
function disable()
{
for (i=0; i<document.form.pb.ch1.length; i++){
if (document.form.pb.ch1[i].checked =true)
{
document.form.pb.ch3[i].disabled='true';
}
}
}
</script>
Hi!!
In the "if", the comparison is not correct . Try this.
"if (document.form.pb.ch1[i].checked == true)"
Regards,
Manjunath
hiii
"if (document.form.pb.ch1[i].checked == true)"
use this one..............
Thanks
Ashok Kumar.M