cancel
Showing results for 
Search instead for 
Did you mean: 

Call Javascript function with parameters in JSP DynPage

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Solved.

Solution: