AmitShrivastva
asked on
JQuery toggle button issue
Hi Experts,
The code that is attached is a settings screen where we want to toggle other buttons based on the main app sync button i.e if the "App Sync" is off then all the other buttons should toggle to off state,,,When "App Sync" is on then we should load the state of individual toggle buttons from the local storage.
we have picked the code for below link
http://www.devirtuoso.com/2011/05/toggle-switches-with-jquery-and-checkboxes/
The code is attached for your reference.
Regards,
SettingsMain.html
SettingsMain.txt
The code that is attached is a settings screen where we want to toggle other buttons based on the main app sync button i.e if the "App Sync" is off then all the other buttons should toggle to off state,,,When "App Sync" is on then we should load the state of individual toggle buttons from the local storage.
we have picked the code for below link
http://www.devirtuoso.com/2011/05/toggle-switches-with-jquery-and-checkboxes/
The code is attached for your reference.
Regards,
SettingsMain.html
SettingsMain.txt
So what does it not do or do incorrectly?
ASKER
The buttons are not toggling as per the above mentioned behaviour.
if we switch off the "App Sync" we are not able to switch off other buttons automatically
if we switch off the "App Sync" we are not able to switch off other buttons automatically
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.