jquery issues
-
I’m creating a plugin but right now i’m having some issues
first…
when i activate the plugin things like “Screen Settings” and many stuff stop working.
also i have this errorUncaught TypeError: Object #<Object> has no method ‘delegate’
i don’t know if this lines are fine
add_action('admin_enqueue_scripts', 'order_ScriptsAction'); add_action('admin_enqueue_scripts', 'position_ScriptsAction'); function order_ScriptsAction(){ //global $WP_PLUGIN_URL; wp_enqueue_script('jquery'); wp_enqueue_script( 'jquery-ui-core' ); wp_enqueue_script('myjquery', plugin_dir_url( __FILE__ ).'js/jquery-1.3.2.min.js',array('jquery')); wp_enqueue_script('myjqueryagain', plugin_dir_url( __FILE__ ).'js/jquery-ui-1.7.1.custom.min.js',array('jquery')); wp_enqueue_script('my_script', plugin_dir_url( __FILE__ ).'js/order.js',array('jquery')); } function position_ScriptsAction(){ wp_enqueue_script('positionsCG', plugin_dir_url( __FILE__ ).'js/redips-drag-min.js',array('jquery')); wp_enqueue_style( 'positions',plugins_url( 'css/stylePositions.css',__FILE__ ), array(), '' ); wp_enqueue_script('positions43', plugin_dir_url( __FILE__ ).'js/scriptPositions.js',array('jquery')); }
some can help me please???
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘jquery issues’ is closed to new replies.