jQuery Retrieving Page Content

Descrição

Mapa Mental sobre jQuery Retrieving Page Content, criado por sidharth basu em 27-08-2014.
sidharth basu
Mapa Mental por sidharth basu, atualizado more than 1 year ago
sidharth basu
Criado por sidharth basu mais de 9 anos atrás
216
0

Resumo de Recurso

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

                                                    Semelhante

                                                    Cap. 01 - Sistemática e Classificação Biológica
                                                    renpv
                                                    SIMULADO DO SPAECE PORTUGUÊS 3º ANO 2014
                                                    gilmarjunior24
                                                    Cinética Química
                                                    GoConqr suporte .
                                                    Sistema Respiratório - Biologia
                                                    GoConqr suporte .
                                                    Psicanálise
                                                    LucasEsmeraldo
                                                    Teorema de Pitágoras 2
                                                    Paula Neto
                                                    Cálculo estequiométrico
                                                    Alice Sousa
                                                    Reino Monera
                                                    nathaliaires
                                                    Apresentação da disciplina - Desenvolvimento e Sustentabilidade Ambiental - Medicina
                                                    Jéssica Meireles
                                                    GRÉCIA ANTIGA
                                                    Hugo Fonseca