Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: View Current Selected Option
04-27-2007, 02:43 AM #1
- Join Date
- Sep 2002
- Thanked 0 Times in 0 Posts
View Current Selected Option
A Form has 2 select lists. The size of the 1st select list is 4 which means that at any given time, 4 options will be visible to users & the size of the 2nd select list is 1.
When an option is selected in the 2nd select list, the Form gets posted. Under such circumstances, I want the 1st select list to maintain its state i.e. the option that the user had selected just before posting the Form in the 1st select list should remain selected after the Form posts. I have taken care of this using ASP but there's a petty problem.
Assume that the 1st select list has 30 options & a user selects the 15th option. When the Form posts after selecting an option in the 2nd select list, the 15th option in the 1st select list remains selected but it's not viewable to the user. In order to view the selected option in the 1st select list (which is the 15th option in this case), the user has to scroll down the 1st select list.
Now how do I ensure that the user need not scroll down the 1st select list to view the option he had selected after the page posts i.e. after the Form posts, the selected option in the 1st select list should behave as if it is the default selected option in the 1st select list?
04-27-2007, 06:08 AM #2
- Join Date
- Jun 2002
- Thanked 215 Times in 212 Posts
Tower of Hanoi Android app (Ad-FREE!)
Tower of Hanoi Android app (FREE!)
Tower of Hanoi Leaderboard
vBulletin 5 Floating Bar extension
vBulletin 5 Slideshow extension
vBulletin 5 Quote Selected Text extension
vBulletin 5 Profile Preview Tooltip extension