http://hostforasia.com/email_form3.php
i use simple javacripts email validation, can't get it work...why
I am reading a JavaScript error in your document. Here is what I got:
Error: document.validation has no properties Source File: http://hostforasia.com/email_form3.php Line: 243
That line says: var str=document.validation.emailcheck.value
"validation" should be the name of your form "emailcheck" should be the name of you email field.
I am guessing that you copied this function from somewhere? Try changing it to this:
str=document.form1.email.value
yeah, i copied from javastriptkit.com i just follow the instruction and copied the code loh. never make any change, later go and try your tips, thank you.
javascript email validation not work?
I am reading a JavaScript error in your document. Here is what I got:
Error: document.validation has no properties
Source File: http://hostforasia.com/email_form3.php Line: 243
That line says: var str=document.validation.emailcheck.value
"validation" should be the name of your form
"emailcheck" should be the name of you email field.
I am guessing that you copied this function from somewhere? Try changing it to this:
str=document.form1.email.value
javascript email validation not work?
yeah, i copied from javastriptkit.com
i just follow the instruction and copied the code loh.
never make any change, later go and try your tips, thank you.