File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Cookie and Select box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cookie and Select box" Watch "Cookie and Select box" New topic

Cookie and Select box

K Robert
Ranch Hand

Joined: May 16, 2003
Posts: 116
I am using a cookie for persistant data... I want to select a particular value in the listbox from the cookie on load of the page. I already have the code to read from the cookie, I am just not sure how to update the listbox with the value. How do I do this?

Thanks in advance!
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
basic idea:

I agree. Here's the link:
subject: Cookie and Select box
It's not a secret anymore!