Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
help setting up this form (drop down menu)
Old 10-16-2009, 11:37 AM help setting up this form (drop down menu)
Junior Talker

Posts: 2
Trades: 0
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)
awatts1984 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-16-2009, 05:30 PM Re: help setting up this form (drop down menu)
Extreme Talker

Posts: 201
Name: Brian
Trades: 0
Not sure how helpful this will be, but you can try it. Seems simple enough.

http://www.google.com/cse/?v

Hope it works out for you.
bdg1115 is offline
Reply With Quote
View Public Profile
 
Old 10-16-2009, 06:09 PM Re: help setting up this form (drop down menu)
rizwan007's Avatar
Average Talker

Posts: 20
Name: John Martin
Trades: 0
go to dynamic drivedrive dot com it will show you exactly you want.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
rizwan007 is offline
Reply With Quote
View Public Profile
 
Old 10-16-2009, 11:32 PM Re: help setting up this form (drop down menu)
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
Update the code this way
HTML Code:
<form action="http://astore.amazon.com/adbabel-20/search" method="get" target="_blank">
<select name="node" size='1'>
<option value='1'>Category 1</option>
<option value='2'>Category 2</option>
<option value='3'>Category 3</option>
<option value='8'>Category 8</option>
</select>
<input name="keywords" size="12" value="" type="text">
<button type="submit" >Search</button>
</form>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prasanthmj is offline
Reply With Quote
View Public Profile
 
Old 10-17-2009, 12:49 AM Re: help setting up this form (drop down menu)
Junior Talker

Posts: 2
Trades: 0
Thank you prasanthmj!! It works!!

Last edited by awatts1984; 10-17-2009 at 12:56 AM..
awatts1984 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to help setting up this form (drop down menu)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.82177 seconds with 12 queries