jquery L1 1.How to retrivee href value $("p").attr("href"); 2.Slide Down $("#panel").slideDown(); 3.$("#p1").css("color", "red").slideUp(2000).slideDown(2000);What is this method? Jquery Chaining 4.The method which removes the child elements of the selected element(s). jQuery empty() 5.How to set background $("p").css("background-color", "yellow"); 6.excludes padding, border and margin width() 7.includes padding only InnerWidth() 8.includes padding and border OuterWidth() 9.All elements with a title attribute value starting with "Tom" $("[title^='Tom']") 9.Returns which keyboard key or mouse button was pressed for the event event.which 10.Attaches/Triggers the mouseover event mouseover() 11. Inserts content at the end of selected elements append() 12.Removes all child nodes and content from selected elements empty() 13.Returns an element with a specific index number of the selected elements eq() 14.Returns all next sibling elements between two given arguments nextUntil() 15.Remove elements from the set of matched elements not() 16.Returns the direct parent element of the selected element parent() 17.$("p") All <p> elements 18.Attaches two event handlers to the hover event hover() 1) $("Button").dblclick() Double Click 2) event.stopPropagation() 3) Which property contains the last/previous value returned by an event handler triggered by the specified event ? Ans: event.result 4) event.target 5) All <p> elements that are descendants of a <div> element – Ans : $("div p") 6) $("div").focusin() 7) $(“div”).css("background-color", "#FFFFCC") -- Setting background color 8) All <p> elements that are siblings of a <div> element – Ans : $("div ~ p") 9) $("div").focusout() 10)Getting the pointer of mouse position : Ans : $(document).mousemove() 11)The <p> element that are next to each <div> elements – Ans : $("div + p") $(div).mousemove(function(event){ $("span").text(event.pageX + ", " + event.pageY); }); 12)$(".Test") : All elements with class="Test" in Jquery 13)All <h1>, <div> and <p> elements : Ans : $("h1,div,p") 14)Select the last <p> element : Ans $("p:last") 15)All <p> elements that are a direct child of a <div> element - Ans:$("div > p") 16)Which selector selects an element with a specific index number - Ans :eq() 17)All <div> elements that have a <p> element – Ans: $("div:has(p)") 18)All elements that are a parent of another element – Ans : parent 19)All elements with a href attribute value not equal to "default.htm" – Ans :$("[href!='default.htm']") 20)All elements with a title attribute value starting with "hel" a) $("[title^='hel']") b) $("[title~='hel']") c) $("[title*='hel']") d) $("[title|='hel']") 1. Returns the namespace specified when the event was triggered. event.namespace 2. Returns which DOM element triggered the event event.target 3.All <div> elements that have a <p> element – Ans: $("div:has(p)") 4.All elements with a href attribute value not equal to "default.htm" – Ans : $("[href!='default.htm']") 5.The <p> element that are next to each <div> elements – Ans : $("div + p") 6.The <p> element that are sibling to each <div> elements – Ans : $("div ~ p") 7. $("p:second") The second <p> element 8. $("ul li:gt(3)") List elements with an index greater than 3 9.$("[title*='hello']") All elements with a title attribute value containing the word "hello" 10.Slide up 11. Fade out