This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
jquery:allgemein [2012/06/01 21:02] – external edit 127.0.0.1 | jquery:allgemein [2021/12/06 21:25] (current) – removed admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== jQuery ====== | ||
- | eigene Selektoren erstellen wie [[http:// | ||
- | |||
- | < | ||
- | < | ||
- | < | ||
- | <script type=" | ||
- | <script type=" | ||
- | | ||
- | ## Extend the jQuery object to include the | ||
- | ## custom selector " | ||
- | jQuery.extend( | ||
- | jQuery.expr[ ":" | ||
- | { | ||
- | hottie : ( | ||
- | " | ||
- | " | ||
- | ) | ||
- | } | ||
- | ); | ||
- | |||
- | |||
- | // This will highlight the girls who are hotties. | ||
- | function FindHotties(){ | ||
- | |||
- | $( "ol a: | ||
- | | ||
- | } | ||
- | |||
- | </ | ||
- | </ | ||
- | < | ||
- | |||
- | <ol> | ||
- | | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | |||
- | <p> | ||
- | <a href=" | ||
- | onclick=" | ||
- | >Find Hotties</ | ||
- | </p> | ||
- | |||
- | </ | ||
- | </ |