MCQs>IT & Programming>JavaScript>Consider the following JavaScript validation function: function ValidateField() { if(document.forms[0].txtId.value == '' '') {return false;} return true; } Which will call the function as soon as the user leaves the field?
JavaScript MCQs
Consider the following JavaScript validation function:
function ValidateField()
{
if(document.forms[0].txtId.value =="")
{return false;}
return true;
}
Which of the following options will call the function as soon as the user leaves the field?