jQuery Retrieving Page Content

Beschreibung

Mindmap am jQuery Retrieving Page Content, erstellt von sidharth basu am 27/08/2014.
sidharth basu
Mindmap von sidharth basu, aktualisiert more than 1 year ago
sidharth basu
Erstellt von sidharth basu vor mehr als 10 Jahre
219
0
1 2 3 4 5 (0)

Zusammenfassung der Ressource

jQuery Retrieving Page Content
  1. Selectors & Filters retrieve content from the document
    1. selectors retrieve an array of objects as per the selection criteria
      1. this array is not the set of DOM elements
        1. it is the collection of jQuery objects that provide pre-defined functions for further operating on objects
      2. fiilters operate on selectors to further refine the results array that the selectors return
      3. jQuery Selector
        1. Basic jQuery Selector
          1. tagname
            1. all elements that are named tagname
            2. #identifier
              1. element with ID of identifier
              2. .className
                1. all elements with CLASS attribute of className
                2. tag.className
                  1. all elements of type tag with CLASS attribute of className
                  2. tag#id.className
                    1. element of type tag with ID of id and CLASS attribute of className
                    2. *
                      1. all elements of the page
                    3. Hierarchical jQuery Selector
                      1. selector, selector, ...
                        1. all specified selectors
                        2. .class1.class2
                          1. all elements with both class1 & class2 applied
                          2. parent > child
                            1. all child elements that are children of element of type parent
                            2. ancestor descendant
                              1. all descendant elements tht are contained within element of type ancestor
                              2. prev + next
                                1. all next elements that are next to a prev element
                                2. prev ~ siblings
                                  1. all sibling elements that comes after prev and match the siblings selector
                              3. jQuery Filters (provides fine grained control over the elements selected)
                                1. 1. Basic
                                  1. basic filtering like getting first, last and even and odd numbered elements in a returned set
                                  2. 2. Content
                                    1. filters a set of elements based on their content, like whether the element contains a particular string
                                    2. 3. Visibility
                                      1. filters a set of elements based on their visibility setting of each element as a test
                                      2. 4. Attribute
                                        1. Examines a given attribute of an element to determine whether it should be filtered out
                                        2. 5. Child
                                          1. Selects elements based on their relationship with their parent element
                                          2. 6. Form
                                            1. Provides specialized filters that operate on form elements
                                          3. Retrieving Page Content
                                            1. size(), length
                                              1. number of elements in jQuery result set
                                              2. get()
                                                1. returns an array of matched DOM elements
                                                2. get(index)
                                                  1. access a single DOM element at a specified index in matched set
                                                  2. find(expression)
                                                    1. searches for descendant elements that matches the specified expression
                                                    2. each(fn)
                                                      1. executes a function within the context of every matched element
                                                    Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                    0 Kommentare

                                                    There are no comments, be the first and leave one below:

                                                    ähnlicher Inhalt

                                                    QUIZ: Web 2.0 Grundbegriffe - hast du sie drauf?
                                                    Gaby K. Slezák
                                                    IKA-Theoriefragen Serie 20 (15 Fragen)
                                                    IKA ON ICT GmbH
                                                    GPSY SOPS
                                                    Simon Wirsching
                                                    Deutsch Abitur 2016: Sprache
                                                    Lena S.
                                                    Histo Physikum 2016
                                                    Ju Pi
                                                    Vetie - Tierzucht & Genetik - S IV
                                                    Fioras Hu
                                                    Prüfungsthemen APSY EURO-FH B.Sc.
                                                    ??? ???
                                                    Vetie AVO 2016
                                                    Johanna Müller
                                                    Vetie Repro 2020
                                                    Franziska Piepho
                                                    Vetie AVO 2020
                                                    M W