Hi, I need to validate the value of checkbox to see if the checkbox has been checked.
I manage to show the value fo checked property
But cant seem to do an If for validation. Please help
This shows me True or False of checbox being checked
But now putting it in an IF for validation does not work
I manage to show the value fo checked property
But cant seem to do an If for validation. Please help
This shows me True or False of checbox being checked
Code:
function Validate()
{
testnew=document.getElementById('VE1077Doc').checked;
alert(testnew);
}
Code:
function ValidateInitSubmit()
{
if(document.getElementById('VE1077Doc').checked=="false")
{
alert("testnewresulkt");
}
}
Comment