JQuery MExam Coverage

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

ADnET - JQuery

Midterm Coverage for identification and matching type


1. val() - Sets or returns the value of form fields
2. prepend() - Inserts content at the beginning of the selected elements
3. after() - Inserts content after the selected elements
4. The jQuery after() method inserts content AFTER the selected HTML elements.
5. remove() - Removes the selected element (and its child elements)
6. The width() method sets or returns the width of an element (excludes padding, border and margin).
7. The innerWidth() method returns the width of an element (includes padding).
8. The innerHeight() method returns the height of an element (includes padding).
9. The outerWidth() method returns the width of an element (includes padding and border).
10. The outerHeight() method returns the height of an element (includes padding and border).
11. The outerWidth(true) method returns the width of an element (includes padding, border, and margin).
12. The outerHeight(true) method returns the height of an element (includes padding, border, and margin).
13. text() - Sets or returns the text content of selected elements
14. html() - Sets or returns the content of selected elements (including HTML markup)
15. The jQuery attr() method is used to get attribute values.
16. append() - Inserts content at the end of the selected elements
17. before() - Inserts content before the selected elements
18. The jQuery before() method inserts content BEFORE the selected HTML elements.
19. empty() - Removes the child elements from the selected element
20. addClass() - Adds one or more classes to the selected elements
21. removeClass() - Removes one or more classes from the selected elements
22. toggleClass() - Toggles between adding/removing classes from the selected elements
23. The css() method sets or returns one or more style properties for the selected elements.
24. The height() method sets or returns the height of an element (excludes padding, border and margin).

You might also like