Timeline for Problem with running javascript in a shortcode
Current License: CC BY-SA 2.5
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2011 at 22:43 | comment | added | onetrickpony | not true, I'm running wp 3.1 with google's jquery without any problems... | |
Feb 21, 2011 at 20:11 | comment | added | Otto | Loading jquery 1.5 that way will break your site. Both because of incompatibilities in 1.5 and the lack of loading it in noConflict mode. | |
Feb 21, 2011 at 18:01 | history | edited | onetrickpony | CC BY-SA 2.5 |
added 1 characters in body
|
Feb 21, 2011 at 17:54 | comment | added | onetrickpony |
that's because you're not passing the $id php variable, you're creating a new one in javascript. Anyway, I've updated the code above, it should make it work now
|
|
Feb 21, 2011 at 17:53 | history | edited | onetrickpony | CC BY-SA 2.5 |
added 15 characters in body
|
Feb 21, 2011 at 15:50 | comment | added | Logan | This fixes some of the issues, though the main issue here is that it doesn't update the $id shortcode attribute in the script, it remains as $id and not the value I place in the shortcode. | |
Feb 21, 2011 at 5:11 | history | answered | onetrickpony | CC BY-SA 2.5 |