ASP Select List

tuniprod

New Member
ASP is not my forte, so I was wondering if anyone knows how I can do the following:I would like when an option within a select drop down list is selected it changes the data within a hidden field.Here is the test select fields:\[code\]<select name="h_id"> <option value="">-- Send enquiry to --</option> <option value="http://stackoverflow.com/questions/12819589/1">1</option> <option value="http://stackoverflow.com/questions/12819589/2">2</option> <option value="http://stackoverflow.com/questions/12819589/3">3</option></select>\[/code\]So for example if you select option #2 I want it to change the value of the following hidden field:\[code\] <input type="hidden" name="testing" value="http://stackoverflow.com/questions/12819589/testing1">\[/code\]Does anyone know how I can do this?Thanks.
 
Back
Top