Hey guys, basically, I know how to create a drop down menu, as well as a submit button, but I'm not sure how I would go about linking them to pages?
What I mean is...say there is 2 drop down menus. If I choose an option from both menus and click submit, it will bring me to a page on my site. I could also do a combination of Option 1 on the first drop down, but option 2 on the second.
Does anyone know how I would go about doing this? Or could provide me with the codeI'm fairly certain it's mainly html based, but I could be wrong, and it could use php, if it does, please let me know and I could create a thread in that forum
Here is my current code, with no link. Let me know
Code:<div id="type"> Drop down one: <select id="typefield"> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> </select> </div> <div id="style"> Drop down two: <select id="stylefield"> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> </select> </div> <div id="search"> <input type="submit" name="submitsearch" value="Search"/> </div>



I'm fairly certain it's mainly html based, but I could be wrong, and it could use php, if it does, please let me know and I could create a thread in that forum 
Reply With Quote



Bookmarks