[Solved] toggle function not working with jquery 1.9 [duplicate]


from jquery 1.9 docs

.toggle(function, function, … ) removed

This is the “click an element to run the specified functions”
signature of .toggle(). It should not be confused with the “change the
visibility of an element” of .toggle() which is not deprecated. The
former is being removed to reduce confusion and improve the potential
for modularity in the library. The jQuery Migrate plugin can be used
to restore the functionality.

3

solved toggle function not working with jquery 1.9 [duplicate]