Forums

wp_enqueue_script("jquery"); not working (1 post)

  1. sangram.patra
    Member
    Posted 4 months ago #

    wp_enqueue_script("jquery");

    I am using this to includes js file,But it is not working......

    add_action('admin_enqueue_scripts', 'my_scripts_method');
    function my_scripts_method() {
    wp_enqueue_script('jquery');
    }

    Error like :: Error: jQuery is not defined

    Any idea..

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 4 months ago by sangram.patra
  • This topic is not resolved
  • WordPress version: 3.3.1