Consider the following validate function:
<script type="text/javascript">
function ValidateField()
{
if(document.forms[0].txtId.value =="")
{return false;}
return true;
}
</script>
This function should be called as soon as the user leaves the field. What will you do?
Correct Answer: <input name=txtId type="text" onblur="return ValidateField()">
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More DHTML MCQ Questions