why JQuery UI option buttons (buttonset) doesn’t have any events – I want to handle select events for it, wonder what’s the right way for doing that.
Share
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.
You should just tap into the normal
changeevent for the radio buttons themselves. Expanding on the example on jQueryUI’s website:Html:
JavaScript:
The
buttonsetwidget is just styling the radio buttons a certain way. All of the regular events will fire as expected.Example: http://jsfiddle.net/andrewwhitaker/LcJGd/