olance / jQuery-switchButton

jQuery UI iPhone-like switch button
111 stars 102 forks source link

help #23

Closed BannerBomb closed 7 months ago

BannerBomb commented 8 years ago

im making a page redirect with this so if its turned on it will send people to an error page instead of the original page but when its off it will send them back to the normal page. (this is so i can edit my website without ppl visiting it) i want it to toggle the var value true/false when switching the switch and how can i get the page to save the value of it being on or off when its refreshed it stays in the position i had it in? can you help me asap