Results 1 to 2 of 2
Sep 1, 2013, 11:19 #1
- Join Date
- Feb 2013
- 0 Post(s)
- 0 Thread(s)
show and hide div with select option?
<label>Show div?</label> <select> <option>yes</option> <option>no</option> </select> <div class="show and hide this div when toggling yes and no on selectbox"> some other select boxes with different options </div>
If someone take the option YES, then div under will show, and if the user changes his option to NO, i want it to be hidden again. In fact I want to make all the options he first choose in the hidden div to be obsolete and don't show in the email output.
So if he choose NO i don't want the extra fields/options in the hidden div to be shown in the email-output, only if he choose YES and fills them out.
Hope someone understand what Im trying to convey, my english isn't the best.