Results 1 to 2 of 2
Thread: JQuery syntax
Jun 21, 2010, 02:45 #1
- Join Date
- Dec 2009
- 0 Post(s)
- 0 Thread(s)
Here is a JQuery tutorial which I don't understand.
$("[href!='#']") =>select all elements with an href attribute NOT equal to "#".
$("[href$='.jpg']") =>select all elements with an href attribute that ends with ".jpg".
what is the $ inside ? what it does there ? There is already a $ outside . I guess $ has something to do with the href attribute that ends with . But how ? Could you please throw somelight on this syntax ? Can I apply this any other places ?