How to custom reset jquery ui buttonset?
How can I reset radio buttons or checkbox of a jq开发者_StackOverflowuery ui buttonset made without using "form.reset()", because I want to reset this specific field.
Code is here...: http://jsfiddle.net/tPH57/1/
You have to call the refresh
method on the button: http://jsfiddle.net/AAcJ5/1/
From the documentation:
Refreshes the visual state of the button. Useful for updating button state after the native element's checked or disabled state is changed programatically.
精彩评论