jQuery Advanced - Part 2
let collection = $(".row").each(function() {
let x=$(this).html();
return x;
});
The above code snippet will store the HTML markup of every element whose class attribute is "row" in collection variable.
- $("#row").slideUp()
- $("#row").slideUp("slow")
- $("#row").slideUp(3000)
- $("#row").slideDown()
- $("#row").slideDown("slow")
- $("#row").slideDown(3000)
- $("#row").slideToggle()
Comments
Post a Comment