This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes maintainig the value of a select box onsubmit of a form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

maintainig the value of a select box onsubmit of a form

payal kapadia
Greenhorn

Joined: Feb 08, 2005
Posts: 10
hi..
another small doubt.
I have a form in which in am using document.formname.submit() onchange on a select box.

on subit of this form i have managed to ensure that the values in the textfields persist even after refreshing(by sending the variables to the bean file and then retreiving them.)How do i ensure the same in case on a select box(that is i want it to have the same value it had before subm,itting the form.

thanks in advance

payal
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Since this is a continuation of the same question asked here, please continue any discussion in that topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: maintainig the value of a select box onsubmit of a form
 
Similar Threads
Show the value in select tag
Operations between two select boxes
when broswer back button pressed form data is changed.
Retain a selected value in a drop down.
Inline Form Validation