Jump to content

Archived

This topic is now archived and is closed to further replies.

Patrick3002

select box not selecting

Recommended Posts

[code]<select name="url" style="height:17" class="selectform" onChange="document.location.href=
document.nav2.url.options[document.nav2.url.selectedIndex].value">
<option value="http://echostudiosonline.com"><a href="http://echostudiosonline.com">Echo Studios Online</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="http://lyricsdbonline.com"><a href="http://lyricsdbonline.com">Lyrics DB Online</a></option>
<option value="http://echophponline.com">Echo PHP Online</option>
  </select>[/code]

It doesnt want to go to the link when you select it... not sure why i think it might have something to do with the nav2 in the onchange but i had to re-do this and forgot what nav2 is for. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
navs2 is most probably an iframe/frame as you are passing a url to it.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.