NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Sending Drop Down Menu value to hidden field

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-09-2007, 08:05 AM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Oct 2005
Posts: 28
jdickson is an unknown quantity at this point
 



Help! Sending Drop Down Menu value to hidden field


I have a drop down menu (let's user picked a date). Then the user will fill out a form with requests. How can I take the value of the drop down menu, and transfer it to a hidden field? Right now I have a 1 row by 2 column table that has a loop (loops 10 times). I want the value of the drop down menu to go to the hidden field so it will be inserted into the database with each of the 10 records. Is there an easy way of doing this? Am I doing this incorrectly? Much thanks for your help
jdickson is offline  
Old 11-09-2007, 09:16 AM   #2 (permalink)
NamePros Member
 
kwaping's Avatar
Join Date: Oct 2007
Location: San Diego, CA
Posts: 117
kwaping is on a distinguished road
 



Which programming language are you using?
kwaping is offline  
Old 11-09-2007, 09:24 AM   #3 (permalink)
Danltn.com
 
Daniel's Avatar
Join Date: May 2007
Location: Danltn.com / Nottingham, UK
Posts: 1,201
Daniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond reputeDaniel has a reputation beyond repute
 


Ethan Allen Fund Ethan Allen Fund
Is this a good article?

http://www.matthewbarr.co.uk/blog/ar...avaScript.html

Edit: Why can't you just use $_POST['drop_down_name']; to get what they've entered?

Dan
Daniel is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:31 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger