Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • hhm, 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.

    haha! 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’,’https://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.

    Sorry 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', 'https://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 function any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)