HTML Drop-Down List Box Trouble
-
I am trying to create a simple Drop-Down list box with a go button on my home page. In the HTML Editor of wordpress this is the coding that I have:
<FORM name=”LocationForm”>
<SELECT name=”LocationMenu”>
<OPTION SELECTED value=”https://climb-utah.modern-graphix.com/bryce-national-park”>Bryce National Park
</SELECT>
??
<INPUT type=”button” name=”go” value=”Enter” onClick=”window.location=document.LocationForm.LocationMenu.options[document.LocationForm.LocationMenu.selectedIndex].value”> </FORM>In my list, when I select “Bryce National Park” and click “Enter”, the homepage re-loads and the new URL that is displayed in the browser is:
How to I make it just take me to the URL: https://climb-utah.modern-graphix.com/bryce-national-park
I have been working on this for quite a while and can’t get it to work. The code that I use works when I have it in it’s own html file but when I add it to wordpress, it doesn’t seem to work right anymore. Does anyone have any ideas as to how to get this to work right?
- The topic ‘HTML Drop-Down List Box Trouble’ is closed to new replies.