Hi all,
I would like to know how to pass a form bean value to javascript function to perform some validation..
I have a dropdown list and a textfield.
I have created the dropdown list using html:select tag & the textfield using html:text tag.I have a corresponding formbean with a get/set methods to get/set the dropdown value selected and also for the textfield.now i have onchange attribute in which i call a javascript function.
now how do i send the formbean value to the javascript function & also place the focus automatically on the textfield after selecting a value from the drop down list
Thanks in Advance.
I would like to know how to pass a form bean value to javascript function to perform some validation..
I have a dropdown list and a textfield.
I have created the dropdown list using html:select tag & the textfield using html:text tag.I have a corresponding formbean with a get/set methods to get/set the dropdown value selected and also for the textfield.now i have onchange attribute in which i call a javascript function.
now how do i send the formbean value to the javascript function & also place the focus automatically on the textfield after selecting a value from the drop down list
Thanks in Advance.
Comment