In jQuery, I’m hiding my elements using .hide();.
Is there an evert handler that is fired when I hide something? You see, I have a bunch of elements in my code, and I’m hiding them or showing them (using jQuery) a bunch of times. To keep things in check, in an efficient way, I would love to use an event handler for .hide()
Could someone point me in the right direction for this?
Many Thanks!
You can use a callback function