oOSilasOo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Including jQuery breaks dashboard JavaScripthhm, doing it this way seems to have killed my tags matabox…the place holder text does not go away and the ajax script doesn’t get called. @spstieng are you having this problem? edit: It has actually killed all the JS on my edit posts page.
Forum: Fixing WordPress
In reply to: Including jQuery breaks dashboard JavaScripthaha! worked for me. this is what I did for auto complete.
`wp_deregister_script(‘jquery-ui-core’,’jquery-ui-dialog’);
wp_register_script(‘jquery-ui’,’http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js’,array(‘jquery’));
wp_enqueue_script(‘jquery-ui’);wp_enqueue_script(‘widget’,MY_THEME_PATH . ‘/custom/jquery.ui.widget.js’);
wp_enqueue_script(‘position’,MY_THEME_PATH . ‘/custom/jquery.ui.position.js’);
wp_enqueue_script(‘autocomp’,MY_THEME_PATH . ‘/custom/jquery.ui.autocomplete.js’,array(‘jquery-ui’,’jquery-ui-core’,’widget’,’position’));`thanks for the help.
Forum: Fixing WordPress
In reply to: Including jQuery breaks dashboard JavaScriptSorry to revive the post again, again. I want to use jquery ui autocomplete so I cant downgrade.
wp_enqueue_script('widget',MY_THEME_PATH . '/custom/jquery.ui.widget.js'); wp_enqueue_script('jquery-ui-mouse',MY_THEME_PATH . '/custom/jquery.ui.mouse.js',array('widget')); wp_deregister_script( 'jquery-ui-core' ); wp_enqueue_script( 'jquery-ui-core', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js',array('jquery-ui-mouse'));I am getting
this._mouseInit is not a functionany ideas?