Loading…

In jQuery, what is the meaning of toggle?

toggle() is an important type of procedure that is used to toggle between the methods of the hide() and show(). It simply attached multiple functions to toggle for the selected elements. You can consider that it shows the hidden elements and hide the shown elements.

Syntax

$(selector).toggle(function)

Suggest An Answer

No suggestions avaliable!

Latest post from JQuery interview questions

Ask Question