Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hey guys, I was having the same problem.

    The cause was a conflict between the WordPress jQuery library and the jQuery library (inside vendors.js) I was intending to add to my Theme.

    Basically I was inserting two jQuery libraries into the project. That was causing the ajaxComplete() method not to work and subsequently making $.fn.almComplete not to fire.

    The solution was preventing the WordPress jQuery libraries to be included into the theme:

    // functions.php
      if( !is_admin()){
      	wp_deregister_script('jquery');
      	wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"), false, '1.3.2');
      	wp_enqueue_script('jquery');
      }
Viewing 1 replies (of 1 total)