Question: What is the function of jQuery?
Explanation: Not available
Question: What are the three building blocks for selecting element used in jQuery?
Three building blocks while selection elements in a given document:
A) Tag Name B) Tag ID C) Tag Class
Question: Write the functions of hasClass and html methods.
hasClass(class): Returns true if the specified class is present on at least one of the set of matched elements.
Html(): Get the html contents (innerHTML) of the first matched element.
Question: Which methods are used to add content before and inside of every matched element?
before(content) method is used to add content before each of the matched element.
appendTo(Seloctor) method is used to inside append all of the matched elements to another, seicified set of element.
Question: What is the function of serializeArray() method?
Var data = $(‘form:first’).serializeArray();