Now that toggle(...)
was deprecated in jQuery 1.8 and then removed in jQuery 1.9
What could be used in general (aside from using the jQuery migrate script) instead of toggle(fn, fn2);
thats has the same type of functionality?
Related question (asked about a specific case): What to use instead toggle?
I know that toggle()
functionality was not removed, just the ability to add custom toggle functions (aside from the show/hide default functionality).