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