Timeline for How to wp_enqueue_script jQuery inside a Plugin
Current License: CC BY-SA 2.5
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 3, 2010 at 20:33 | vote | accept | Scott B | ||
Nov 3, 2010 at 20:17 | comment | added | Jan Fabry |
@Scott: html() returns a Javascript String object, and replace() is a standard function. &$ means "the matched substring" in this context, so the $ has nothing to do with jQuery and has to stay.
|
|
Nov 3, 2010 at 19:56 | comment | added | Scott B | Thanks Jan, does <b>$&</b> become <b>jQuery&</b> ? | |
Nov 3, 2010 at 19:46 | history | answered | Jan Fabry | CC BY-SA 2.5 |