• Hi,

    I’m trying to get jQuery enabled in my admin area for a post type, but it doesn’t seem to be working, or at least isn’t helping my issues.

    I am using the jQuery datepicker (called with wp_enqueue_script('jquery-ui-datepicker')) in my admin area. I also have wp_enqueue_script('jquery') before this in the “add datepicker” function. Yet jQuery is loaded from Google’s CDN, not (apparently) the load-scripts.php code, and is loaded AFTER jQuery UI and the datepicker, even though I have placed the enqueue function for jQuery before the one for the datepicker.

The topic ‘"jQuery is not defined" error in WordPress admin area’ is closed to new replies.