开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜