This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes input data disappeared after the apply button is clicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "input data disappeared after the apply button is clicked" Watch "input data disappeared after the apply button is clicked" New topic
Author

input data disappeared after the apply button is clicked

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 245
After the apply button is clicked, the data entered by the user disappeared in the text form. How to keep the data appearing on the text form?
The server use jsp and the Spring framework and the client use the Prototype javascript library.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You're not giving us much to work with.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60766
    
  65

You need to put it back using the value attributes of the form elements.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: input data disappeared after the apply button is clicked
 
Similar Threads
Getting new browser window to open
can any one write this JSP program pls
Instead of token is any other way to stop duuplicate frm submssion in strut2.
Table Model data not getting updated after JTable looses focus
How can I resolve this Exception ?