How to determine the state of a toggle switch?
Hi, I would like to determine the state of a toggle switch and do something if its toggled, for example:
---------------------------------------------------------------var a = mobiletoggle_71;
if (a == toggled) {
Appery('mobilebutton_76').hide();
}
else Appery('mobilebutton_76').show();
// mobiletoggle_71 is the name of the toggle switch
--------------------------------------------------------------------I need clarification on this because Im not sure what is the correct synatx for the lines 1 and 2 are? Thanks.