Re:Show HN: Easily Customizable Toggle Buttons - jQuery Plugin
by S_A_P on Monday August 20, 2012 @05:43PM
(#4409942)
I like these, but how do you get the "value"? Im not a javascript guru, but is there an attribute or value I need to check?
[ Parent
| on HN ]
Re:Show HN: Easily Customizable Toggle Buttons - jQuery Plugin
by wbobeirne on Monday August 20, 2012 @05:48PM
(#4409963)
It looks like the primary function of the button is to alter something on the page via the toggles function, but I guess you could check if it had the active class or not.
Re:Show HN: Easily Customizable Toggle Buttons - jQuery Plugin
by simontabor on Monday August 20, 2012 @06:14PM
(#4410059)
You can either check the class of the .slide div or have it linked to a checkbox which will be checked or unchecked.