getting the text in a select box
I have a select box with a hidden box underneath,
what im trying to do is capture is the other value (anyone, etc...) depending on which option is chosen in a hidden input box.
<select name="provider_id" id="Username" class="select"> <option value=4>anyone</option>
<option value=14>matts girl</option>
<option value=1>Sandra J.</option>
I gather what need to do is use the onChange thing on the select box to capture the current texts value and somehow put it in my hidden thing.
<input type="hidden" value="" name="provider_name">
How can I do this?