0 votes
in JQuery by
What is the method chaining in jQuery, and what are the advantages?

1 Answer

0 votes
by

With chaining, multiple jQuery commands on a particular element can be executed in one go. It helps in implementing various actions on an element at once rather than executing them one after the other.

$("#h2").css("color","blue").animate((left: '100px'}).slideDown(1000);

Related questions

0 votes
asked Nov 20, 2020 in JQuery by sharadyadav1986
0 votes
asked Nov 17, 2020 in JQuery by rajeshsharma
...