|
Title: How to load switchbutton with checked value from json file Post by: Aod47 on October 17, 2015, 03:21:48 PM Could you please show a demo? How to load switchbutton with checked value from json file into a form.
Thank you very much. Title: Re: How to load switchbutton with checked value from json file Post by: stworthy on October 17, 2015, 04:46:59 PM Please refer to http://jsfiddle.net/mzs4kyzt/
Title: Re: How to load switchbutton with checked value from json file Post by: Aod47 on October 17, 2015, 07:55:20 PM Thank you, Sir.
If I understood right. Switch Button will display ON if load value equal default value. Code: <button id="b1">Load</button> |