spuddy
12-29-2002, 11:43 AM
I have placed a drop down box into my site but when I do a test on the page an error is highlighted stating that the following link is not found (options[selectedIndex].value)
I have copied below the code that I have used and would be grateful for any assistance. the page that the code is used is www.doncaster40.freeserve.co.uk/centimentalbears.html should you need to look at the source.
<table border=1 width=20% cellspacing=4 cellpadding=4 bgcolor=FFFFCC cols=2><tr><td>
<center><FORM><SELECT name="URL" onChange="if(options[selectedIndex].value) window.location.href= (options[selectedIndex].value)"> <OPTION value="">Centimental Bears For Sale</OPTION><OPTION> </OPTION>
</SELECT><NOSCRIPT><INPUT type=submit value="Go"></NOSCRIPT></FORM></center></td></tr></table>
I have copied below the code that I have used and would be grateful for any assistance. the page that the code is used is www.doncaster40.freeserve.co.uk/centimentalbears.html should you need to look at the source.
<table border=1 width=20% cellspacing=4 cellpadding=4 bgcolor=FFFFCC cols=2><tr><td>
<center><FORM><SELECT name="URL" onChange="if(options[selectedIndex].value) window.location.href= (options[selectedIndex].value)"> <OPTION value="">Centimental Bears For Sale</OPTION><OPTION> </OPTION>
</SELECT><NOSCRIPT><INPUT type=submit value="Go"></NOSCRIPT></FORM></center></td></tr></table>