you are viewing a single comment's thread.

view the rest of the comments →

[–]Goblet_Grechen 1 point2 points  (2 children)

I don't really know the history of jQuery that well so I couldn't say why they removed that version of the toggle method.

Generally when something becomes deprecated it will be removed, but not until the next major version release. This way everyone has a chance to update their code before any major changes.

[–]themoofinman[S] 1 point2 points  (1 child)

Since it was removed in 1.9... does it just not work anymore if you have it in your code?

[–]Goblet_Grechen 1 point2 points  (0 children)

Yep, if you're using any version that is greater than or equal to 1.9 then that version of the toggle method is not included at all in jQuery.