2808, 2012
Query append() VS appendTo()
Query append() and appendTo() append() :ย Append to end of the selected element HTML : ย <ul id="test"> <li>test</li> </ul> JQuery : ย jQuery("#test").append("<li>test1</li>"); OUTPUT :ย <ul id="test"> <li>test</li> <li>test1</li> </ul> appendTo :ย Append to
2808, 2012
JQuery Selector
JQUERY SELECTORS : 1) selecting a particular element having a specific class $(".class1").css("border", "1px solid red"); 2) select all elements of the page $("*").css("border", "1px solid red"); 3) select an element that having a particular