JQuery find element operation instance summary

This example tells the jQuery lookup element operation. Share to everyone for reference, specifically:

// Look for $ (‘# id
  2. Class  

  
// Find $ ('. C1')
3. Label, combination
  X  
X

 // Tags: Find all A tag $ ('a')   
UP
X
   
Down

// “” Split / / Find all A tags $ (‘# i10 a’) // in “>” / / to find all tags $ (‘# i10> div’ ) // Split / / find the specified ID tag at the same levelNext DIV tag $ (‘# i10 + div “// with” ~ “segmentation / / Find all DIV tags $ (‘ # i10 ~ div”
  
List item 4
List item 5
   // Get the matching first element $ ('li: first'); // Piston's first element $ ('# id> tag: first "
6.: EQ (index)

  
  • Value 2
/ / Match an element for a given index value $ (“TR: EQ (1)”)
   
List item 1

List item 2

List item3
List item 5
   / / Get the last element $ ('li: last')  More about jQuery related content, readers, interested, can view this site: "jQuery common event usage Summary, "jQuery common plug-in and usage summary", "jQuery operation JSON data skills summary", "jQuery extension skill summary", "jQuery common classic special effect summary" and "jQuery selector method summary"  I hope this article will help you jQuery program. 
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment