Timeline for This jQuery snippet doesn't seem to work with Wordpress
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 20, 2013 at 13:59 | comment | added | Chip Bennett |
That should be: jQuery(window).load(function($){} (note the passing of the $ ).
|
|
Aug 20, 2013 at 13:09 | comment | added | gmazzap | @Poisontonomes I don't know if there are some other errors in your jQuery. But even if so, the only wordpress-related error, and so the only reason for your question stay in this site, is the one pointed out by Otto. This is why I +1 this answer. | |
Aug 20, 2013 at 11:41 | comment | added | t31os | This should have been marked as the correct answer. | |
Aug 20, 2013 at 10:39 | comment | added | Poisontonomes |
So would I just need to change $(window).load(function(){ to jQuery(window).load(function(){ ?
|
|
Aug 20, 2013 at 10:29 | history | answered | Otto | CC BY-SA 3.0 |