Export 0.1.56
[platform/framework/web/web-ui-fw.git] / demos / tizen-winsets / widgets / switch / switch.js
1 $("#switch-demo").live("pageshow", function(e) {
2         $("#switch-1-coord").bind("change", function(e) {
3                 $("#switch-2-coord").toggleswitch("option", "checked", $("#switch-1-coord").toggleswitch("option", "checked"));
4         });
5         $("#switch-2-coord").bind("change", function(e) {
6                 $("#switch-1-coord").toggleswitch("option", "checked", $("#switch-2-coord").toggleswitch("option", "checked"));
7         });
8 });