













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of jQuery, a popular JavaScript library used for simplifying HTML document traversing, event handling, and animating webpage elements. It covers the use of jQuery selectors, methods for DOM manipulation, and event handling techniques. Students and developers can use this document as a reference for understanding the basics of jQuery and implementing it in their projects.
Typology: Exercises
1 / 21
This page cannot be seen from the preview
Don't miss anything!














Element Selector $(‘elementname’) ID selector $(‘#id’) Class selector $(.class) Attribute selector Attribute name - $(‘attributename+’) Attribute value - $(‘attributename+=“value”’)
6 Source : https://www.tutorialsteacher.com/jquery/jquery-selectors
7 Source : https://www.tutorialsteacher.com/jquery/jquery-selectors
append() appends content at the end of element(s) that is mentioned by a selector. before() adds content (new or existing DOM elements) before an element(s) that is mentioned by a selector. after() Inserts content (new or existing DOM elements) after an element(s) that is mentioned by a selector. prepend() Insert content at the beginning of an element(s) that is mentioned a selector. remove() removes element(s) from DOM that is mentioned by selector. text() Get or set text content of the selected element(s)
attr()
prop()
html()
text()
val()