I am developing a plugin in WordPress and for the same plugin in settings page I want to integrate a jquery in backend on edit.php. I have followed the below method but it is not working
function cs_colorpicker_js() {
wp_enqueue_script('cs_colorpicker_js',
plugin_dir_url(__FILE__).'js/cs_colorpicker.js'
);
}
add_action( 'admin_enqueue_scripts', 'cs_colorpicker_js' );
here is the screenshot of one error that i have found. http://goo.gl/wmgH60
Use the third variable of Wp_enqueue_script() like,