Form Method
-
How can can write following code in Vbscript, as I tried this one in ASP, but not working, do not know why. function Validate(frm) { if (frm.id.value.length==0) { alert('Invalid Id'); frm.id.focus(); return false; } if (frm.password.value.length==0) { alert('Invalid Password'); frm.password.focus(); return false; } return true; }
ID:
Password:Every thing will come to you if you have faith. -- modified at 22:00 Tuesday 9th May, 2006
-
How can can write following code in Vbscript, as I tried this one in ASP, but not working, do not know why. function Validate(frm) { if (frm.id.value.length==0) { alert('Invalid Id'); frm.id.focus(); return false; } if (frm.password.value.length==0) { alert('Invalid Password'); frm.password.focus(); return false; } return true; }
ID:
Password:Every thing will come to you if you have faith. -- modified at 22:00 Tuesday 9th May, 2006
-
How can can write following code in Vbscript, as I tried this one in ASP, but not working, do not know why. function Validate(frm) { if (frm.id.value.length==0) { alert('Invalid Id'); frm.id.focus(); return false; } if (frm.password.value.length==0) { alert('Invalid Password'); frm.password.focus(); return false; } return true; }
ID:
Password:Every thing will come to you if you have faith. -- modified at 22:00 Tuesday 9th May, 2006
There is no such form property as "removed"... try replacing that with "onSubmit"... cheers Phil
-
There is no such form property as "removed"... try replacing that with "onSubmit"... cheers Phil
-
Phil Uribe wrote:
There is no such form property as "removed"...
Yes, this forum replaces "onclick" near "=" to "removed=" :cool: try post this: onclick= Best regards, Alexey.