Since the jQuery .toggle event method is deprecated. What are we suppose to use to simulate this event (alternate clicks)?
jQuery .toggle event deprecated, What to use?
10.5k Views Asked by AudioBubble At
2
Since the jQuery .toggle event method is deprecated. What are we suppose to use to simulate this event (alternate clicks)?
Add this outside of document.ready
then use the following to replicate the .toggle functionality:
Found on the JQuery Forums