I need a text field inside a form that becomes visible only when a specified drop-down menu is chosen. To be clear, the text box becomes clear by selecting a specific drop-down menu, not by submitting the form. I.e., the page ‘listens’ for the a specific dropdown to be chosen and then through some methodology makes a text field visible for the user to fill in.
Share
Basic elements in your form. Easiest way is to just use literal ID’s for the fields.
I prefer jQuery for all my javascript needs:
Here’s a working example: http://jsbin.com/eculot/edit