jQuery-switchButton icon indicating copy to clipboard operation
jQuery-switchButton copied to clipboard

Changing the underlaying input type="checkbox" don't refresh the state of the switch

Open edteke opened this issue 11 years ago • 2 comments

I have several switches and want one that turn all of them off. How do you achieve this?

Will be good to have the option that when the underlying input changes the checked state, the switch also changes.

edteke avatar Aug 21 '14 20:08 edteke

i have the save problem

dowi avatar May 23 '15 13:05 dowi

try:

$('#myButton').switchButton('option', 'checked', true);

(it's in the documentation btw :P )

toth-istvan-zoltan avatar Dec 13 '15 06:12 toth-istvan-zoltan