How to return drop down menu value with JS, or ajax?

annamaria k

New member
I have a drop down menu:
Country:
<select name="country" id="country" style="width:107px;">
]
<option value="">Select country</option>
<option value="canada">Canada</option>
</select>

if they select "canada" the input id will be "testinpu2".
<input type="text" name="location_int" id="testinput2"/>
I need to do this without refresh.
 
canada" the input id will be "testinpu2".
<input type="text" name="location_int" id="testinput2"/> then drop to the left
 
Back
Top