|
I'm a n00b trying to make a simple website that incorporates amazon's free "astore". It has a search function included in the sidebar already but i don't like it and really want to set up my own.
I found this search box code:
<form action="http://astore.amazon.com/adbabel-20/search" method="get" target="_blank">
<input name="node" value="8" type="hidden">
<input name="keywords" size="12" value="" type="text">
<button type="submit" >Search</button>
</form>
it works well but is limited to searching only one category in my store (i have several). each category is assigned a "node" number. By changing the node value in the code I can change which category the box searches.
I want to create a drop down list that, upon selection, changes the node value and thus the category that is to be searched. Can anyone let me know how this might be done? (ie. what code to put after the option tag when setting up a drop down list)
|