Not sure why but jquery functions don’t trigger when i click the option of a dropdown menu. Even when everything is attached. How can i have the option.click trigger the animate function?http://codepen.io/Jarolin/pen/jHtxf
You can’t. But you can watch for the `
` to change: http://codepen.io/ggilmore/pen/f16e335afc153980a24d373a6c52aedf
I need to attach an individual function to each option of the select menu. I cant do it with that.
But you can trigger a function based on a value can’t you?
My Jquery-fu is weak. :)
@Paulie_D yeah you can. So you would use the change, and then find out what the selected value of the select element is and then do something based on that value.
@jamy_za Thanks. ill try using your code later today.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".