Here is the html file
And here is .js file
But it is saying Object expected for calling that function, i dont know what object is needed and i am using IE 7.0, can u help me friends it is urgent
Code:
<html> <head> <script language="javascript" type="text/javascript" src="validDate.js"></script> </head> <body> <br><br><br> <center> <form name='frm' method='post'> <input type='text' name='test' id='test' value='//' size=5 maxlength=10 onblur='validDate this.form, this.name, this.value)'> <input type='button' value='Check' onclick='chk this.form)'> </form> </center> </body> </html>
Code:
function validDate(frm,nam,val)
{
alert(val);
}
But it is saying Object expected for calling that function, i dont know what object is needed and i am using IE 7.0, can u help me friends it is urgent
Comment