• Post Reply Bookmark Topic Watch Topic
  • New Topic

html drop down menu  RSS feed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yall,
i was wondering how it would be possible to when someone selects something on the drop down menu that their option can be displayed when the page is refreshed instead of going back to the first option.
Thanks!
 
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you would have to use a cookie to store what the user changed and when the page is reloaded, the cookie would have to be read.
 
Author and ninkuma
Marshal
Posts: 66616
161
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using any server-side technology such as JSP, this is also fairly easy to do since the value is submitted as part of the request parameters and can be used to set which of the options is selected when the page is 'written' on the server.
hth,
bear
[ September 03, 2003: Message edited by: Bear Bibeault ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!