Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML FORM--SELECT/OPTION ?

Status
Not open for further replies.

caffeinerusher

Programmer
Mar 7, 2001
31
US
Hey all,

I'm using on option box for a little piece of navigation. Select a url from the list and click "go" and you are taken to that url. My question is that I have a selection with no value that serves to label the option box. When you go to a url and then click back I would like the option box to default back to the label. I have tried using "SELECTED" but it doesn't seem to work. Any ideas?

--Caffeinerusher
 
I really dont know if this will work and in fact suspect it wont but you could try

CHECKED

maybe it will help...
 
I don't think you can do much here. I wouldn't worry about it as this is a standard thing that would happen with all sites. If you really wanted to I suppose you could force the page to refresh in your Javascript function thus resetting the select box but that is perhaps rather convoluted.

Cheers,

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top