[thelist] HELP!!!!!!!!!!!!!!!!! javascript problem

Stevens, Sharon StevenS at prose.dpi.qld.gov.au
Wed Aug 23 22:29:41 CDT 2000


I've got a drop down box and a "go" button next to it and I want users to be
able to highlight something in the drop-down box and then hit the "go"
button to go to the page (see script below), but I'm getting an error about
the redirect options not being valid.

Could some1 please help me with this!!!!!!!!!!!!!

thanks heaps
Schaz

<CODE SNIP>
<select name="Redirect" class="selectNav">
            <option selected>Browse by Subject</option>
            <option value="/">Animals</option>
            <option value="/">Broad-acre field crops</option>
            <option value="/business/">Business &amp; economics</option>
            <option value="/">Community issues</option>
            <option value="/">Environmental management</option>
            <option value="/">Fisheries, aquaculture &amp; seafood</option>
            <option value="/">Food technology</option>
            <option value="/">Forestry, timber &amp; wood</option>
            <option value="/">Horticulture &amp; fresh produce</option>
            <option value="/">Pastures</option>
            <option value="/">Pest &amp; disease control</option>
            <option value="/">Science &amp; technology</option>
          </select>
          <A HREF="#" onMouseOut="MM_swapImgRestore();MM_displayStatusMsg('
');return document.MM_returnValue"
onMouseOver="MM_displayStatusMsg('displayMessage');MM_swapImage('document.ic
on_r2_c6','document.icon_r2_c6','/images/common/icon_r2_c6_F2.gif','#9480866
65618');return document.MM_returnValue"
onClick="location.href=document.forms[0].Redirect.options[document.forms[0].
Redirect.selectIndex].value" target="_top"><IMG
SRC="images/common/icon_r2_c6.gif" NAME="icon_r2_c6" WIDTH="16" HEIGHT="16"
BORDER="0" ALT="Go" ALIGN="ABSBOTTOM" VSPACE="2"></A> 
</CODE SNIP>





More information about the thelist mailing list