flâneur

jQuery API Documentation

api.jquery.com · 406 words · saved by 1 readers

Note: This method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. jQuery also provides an animation method named .toggle() that toggles the visibility of elements. Whether the animation or the event method is fired depends on the set of arguments passed.

.toggle( handler, handler [, handler ] )Returns: jQueryversion deprecated: 1.8, removed: 1.9 Description: Bind two or more handlers to the matched elements, to be executed on alternate clicks. version added: 1.0.toggle( handler, handler [, handler ] ) handler A function to execute every even time the element is clicked. handler A function to execute every odd time the element is clicked. handler Additional handlers to cycle through after clicks. Note: This method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. jQuery also provides an animation method named…

saved by

related reading