wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 60785
    
  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
when broswer back button pressed form data is changed.
Show the value in select tag
Retain a selected value in a drop down.
Inline Form Validation
Operations between two select boxes