Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simontabor
on Aug 20, 2012
|
parent
|
context
|
favorite
| on:
Show HN: Easily Customizable Toggle Buttons - jQue...
You can either check the class of the .slide div or have it linked to a checkbox which will be checked or unchecked.
S_A_P
on Aug 21, 2012
[–]
Ahh, that did it. I ended up checking for $('.slide').hasClass('active');
Thanks for this simon!
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: