Web Technology20805 marksEvents and Effects
What is chaining in jQuery? Write a script to illustrate concept of chaining using slideUp and slideDown method.
What is chaining in jQuery? Write a script to illustrate concept of chaining using slideUp and slideDown method. [5]
Chaining allows us to run multiple jQuery commands, one after another, on the same element(s) in a single statement. To chain an action, we simply append the action to the previous action using the dot (.) operator. This makes the code shorter, cleaner, and more efficient because jQuery does not ...