on 08-26-2010 7:53 AM
Hi!
I want to call a javascript function from htmlb onClientClick(). There's no problem with it. I can call it and show an alert.
The next step is sending the input field value of the jsp form to Javascript function, how can I handle that?
Regards
Hi Bruno ,
In your JSP (inside java script function) use - document.<form name>.<name of the input field>.value
This way you can fetch the value entered in the input field .
Regards
Mayank
Edited by: Mayank Mehta on Aug 26, 2010 9:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.