Enqueue Javascript Correctly for 3.5
I am trying to create tabs for admin settings page in wp, but I think I’m doing it wrong. The example below shows how I did it but I don’t know how to change this to use it correctly with no conflict ie. $. function my_plugin_load_js() { wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, ‘http://code.jquery.com/jquery-1.8.3.js’); wp_enqueue_script(‘jquery’); wp_deregister_script(‘jquery-ui-core’); wp_register_script(‘jquery-ui-core’, ‘http://code.jquery.com/ui/1.9.2/jquery-ui.js’); wp_enqueue_script(‘jquery-ui-core’); … Read more