| Author |
Issue in invoking Javascript function on JSP page.
|
Yuta Lolap
Ranch Hand
Joined: Jun 03, 2012
Posts: 65
|
|
Registration.jsp
I have tow files login.jsp and registration. I am applying basic validation to username and password text fields. but it doesn't seem to trigger. Please can anyone tell me why? I tried just showing an alert("hello world"); on the button click it worked. Then i deleted the alert and gave validation for username and password. Doesn't seem to work.
Please help.
I also tried putting the function call return validate on the onSubmit attribute of the form tag. Didn't work either. I am running this in the browser of the eclipse. When i run this in Firefox it days the port no 6000 is not used for web surfing (excuse the terminology).
Please help!
Thanks in advance!
Yuta Lolap.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
You have no form named Login and it is impossible for value to be null so that check is useless.
|
 |
 |
|
|
subject: Issue in invoking Javascript function on JSP page.
|
|
|