<option>yes</option>
<option>no</option>
When I select yes in the dropdown without pressing submit button, it will show an input field. is it possible in javascript? could you please help me?
<option>yes</option>
<option>no</option>
When I select yes in the dropdown without pressing submit button, it will show an input field. is it possible in javascript? could you please help me?
This will also hide the field when you select "No".HTML Code:<form name="aform" action="#"> <select onchange="this.form.elements['nofkids'].style.display = this.value"> <option value="">Yes</option> <option value="none">No</option> </select> <input type="text" name="nofkids"> </form>
thank you very much
Bookmarks