Possible Duplicate:
Alternative to jQuery’s .toggle() method that supports eventData?
I was just wondering if there was an alternative for the .toggle()
function used to bind two event handlers to alernate clicks (not the one to toggle visibility).
It has been deprecated in jQuery 1.8, and removed in version 1.9. I just wanted to know if there's another function capable of doing that now and that I wouldn't be aware of in jQuery 1.8+. I don't want an example of how to make it myself, I just want to know if another function that is able to do the same thing is available in jQuery.