I have a drop down list.
In Jquery what is the event I would use when the user makes a selection.
The id of the dropdown is drp1
I tried the following but did not work:
$("#ddrp1").SelectChanged(SelectionItem);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the
change()event:In jQuery 1.7, you can use
.on()Here’s a working jsFiddle using
on()