jQuery JavaScript Library

  1. DOM Manipulation
    1. Getting and Setting Content
      1. `.html()` Method
        1. Retrieving HTML Content
          1. Setting HTML Content
            1. Security Considerations
            2. `.text()` Method
              1. Retrieving Text Content
                1. Setting Text Content
                2. `.val()` Method
                  1. Getting Form Values
                    1. Setting Form Values
                      1. Working with Multiple Select Elements
                    2. Getting and Setting Attributes
                      1. `.attr()` Method
                        1. Getting Attributes
                          1. Setting Single Attributes
                            1. Setting Multiple Attributes
                            2. `.removeAttr()` Method
                              1. `.prop()` Method
                                1. Property vs Attribute Differences
                                  1. Boolean Properties
                                  2. `.removeProp()` Method
                                  3. Inserting Content
                                    1. Inside Elements
                                      1. `.append()` Method
                                        1. `.appendTo()` Method
                                          1. `.prepend()` Method
                                            1. `.prependTo()` Method
                                            2. Outside Elements
                                              1. `.after()` Method
                                                1. `.insertAfter()` Method
                                                  1. `.before()` Method
                                                    1. `.insertBefore()` Method
                                                  2. Removing Elements
                                                    1. `.remove()` Method
                                                      1. Removing from DOM
                                                        1. Memory Considerations
                                                        2. `.detach()` Method
                                                          1. Preserving Data and Events
                                                          2. `.empty()` Method
                                                            1. Clearing Element Content
                                                          3. Replacing Elements
                                                            1. `.replaceWith()` Method
                                                              1. `.replaceAll()` Method
                                                              2. Wrapping Elements
                                                                1. `.wrap()` Method
                                                                  1. `.unwrap()` Method
                                                                    1. `.wrapAll()` Method
                                                                      1. `.wrapInner()` Method
                                                                      2. Manipulating CSS and Classes
                                                                        1. `.css()` Method
                                                                          1. Getting CSS Properties
                                                                            1. Setting Single CSS Properties
                                                                              1. Setting Multiple CSS Properties
                                                                              2. Class Manipulation
                                                                                1. `.addClass()` Method
                                                                                  1. `.removeClass()` Method
                                                                                    1. `.toggleClass()` Method
                                                                                      1. `.hasClass()` Method
                                                                                    2. Dimensions and Positioning
                                                                                      1. Basic Dimensions
                                                                                        1. `.height()` Method
                                                                                          1. `.width()` Method
                                                                                          2. Inner Dimensions
                                                                                            1. `.innerHeight()` Method
                                                                                              1. `.innerWidth()` Method
                                                                                              2. Outer Dimensions
                                                                                                1. `.outerHeight()` Method
                                                                                                  1. `.outerWidth()` Method
                                                                                                    1. Including Margins
                                                                                                    2. Position Methods
                                                                                                      1. `.offset()` Method
                                                                                                        1. `.position()` Method
                                                                                                        2. Scroll Methods
                                                                                                          1. `.scrollTop()` Method
                                                                                                            1. `.scrollLeft()` Method