How to get select box option value in a input text field
Here is my code:
<select name="art_type">
<option value="ra">Research
Article</option>
<option value="rea">Review
Article</option>
<option
value="re">Reviews</option>
<option
value="op">Opinions</option>
<option value="le">Letters
to the Editor</option>
</select>
<input style="border: none;" type="text" id="get_id_val" value="">
So whatever value user selects from the select box that value should be
entered in the textbox. How to do that?
So whatever value user selects from the select box that value should be
entered in the textbox. How to do that?
No comments:
Post a Comment