Jump to content


Photo

select box not selecting


  • Please log in to reply
1 reply to this topic

#1 Patrick3002

Patrick3002
  • Members
  • PipPipPip
  • Advanced Member
  • 89 posts
  • LocationMy Computer

Posted 28 October 2006 - 03:41 PM

<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>

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.
If my computer dies, it doesn't die alone.
.....I die with it.

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 28 October 2006 - 05:58 PM

navs2 is most probably an iframe/frame as you are passing a url to it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users