Can any one help in how to get value back from jQuery function?
My purpose is to get a selected value from list box when Button is clicked.
When I click on the button I am invoking a function , in that function i am able to alert the selected valu. But I want that value on .jsp page to set the selected value to session.
You'll need to call the server to set anything in session, either via Ajax or a form submission. As Bear says it'll be a good idea to understand the various life cycles involved in web apps before going too much further.
Mukhi Vla
Ranch Hand
Joined: Apr 22, 2010
Posts: 50
posted
0
I got it. I will have to try AJAX. In my jsp I don't have any form submission. There is a href link that is redirected to a controller class. But before going to the controller I should have this value set.