| Author |
Get textbox value in the Same JSP Page
|
anish shah shah anish
Greenhorn
Joined: Apr 18, 2011
Posts: 1
|
|
Hey.
How Can i get the value of textbox & Store it in String. !
I basically want to Store textbox value in Session without Redirecting the Page or clicking on Any Button.
So, to Store in Session we need String Data type values.
For that I Want to get textbox value in String Variable. !
Can anyone tell me how can it be Done ???
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
OK, no submission and no button click. What event will trigger the activity you want?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Stefan Evans
Bartender
Joined: Jul 06, 2005
Posts: 1005
|
|
Obviously a javascript onchange or onblur event on the textfield to trigger an ajax call to the server to pass in the value just typed in.
No button clicks.
The page doesn't reload/redirect
|
 |
 |
|
|
subject: Get textbox value in the Same JSP Page
|
|
|