Also in your code I supsect inFOrm should be inForm which might just fix your problem without rewritting the function like I just did.function ValidateForm(foo){ alert("In JS"); if ((foo.Mobile.value==null)||(foo.Mobile.value=="")){ alert("Please Enter your Phone Number"); foo.Mobile.focus(); return false; } }
In reply to Re^3: JScript and Perl
by xorl
in thread JScript and Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |