Skip to Content
0
Former Member
Jan 01, 2008 at 07:06 AM

Passing Form inputfiled value in javascript to bean as parameter

42 Views

Dear Experts,

I have a JSP form and on click of the submit i call a Java script. In the javascript i call a method in a bean (and pass string parameters) which would return me boolean value. Now On click of submit in the Javascript i'm able to call the bean method and pass hardcoded values successfully. But i'm not able to pass to the bean thee form input field values as parameter. I was able to get the form value in a variable say Var Str1, but not able to pass 'Str1' to the bean as parameter.

Points will surely be awarded.