Home › Forums › JavaScript › jQuery not responding once I move it to wordpress › Re: jQuery not responding once I move it to wordpress
January 23, 2011 at 6:11 pm
#64399
Rob MacKay
Participant
Hey. Yea. It’s the way WordPress loads scripts to remove the problem of duplication and clashes between libraries.
have a look here:
http://codex.wordpress.org/Function_Reference/wp_enqueue_script
or just wrap your jQuery in this document ready, instead of the default:
jQuery(document).ready(function($) {