I’ve got a div#items and if it’s clicked then div#choices slideDown(). If it’s clicked again then div#choices should slideUp(); How can I test if choices is down or up already? I know I could store in a variable and toggle it’s value whenever div#items is clicked, but what if #choices has been slid down by other means?
I’ve got a div#items and if it’s clicked then div#choices slideDown(). If it’s clicked
Share
Use .slideToggle()