Hey everyone, I had a quick question that should be easy for someone who is experienced in Jquery and Javascript.
I’d like to have a hidden div that is below a drop-down field in my form. When one particular option is selected, the hidden div is displayed. I’d also like it to disappear when any other option is selected. I’m using this as a warning for the user since that option will run some specific db related functions.
Can anyone give me some hints on how to get this started?
Thanks.
Here you go. (online demo http://jsfiddle.net/wwTxw/ )
HTML:
jQuery Code;