Skip to:
Content
Pages
Categories
Search
Top
Bottom

Autocomplete stopped working?

  • @godavid33

    Participant

    Everything was working fine, and now it’s not. The error I get in the console is this:

    Uncaught Error: cannot call methods on autocomplete prior to initialization; attempted to call method

    This seems to be the code causing it:

    
    		jQuery(document).ready(function() {
    			var acfb = jQuery("ul.first").autoCompletefb({urlLookup: ajaxurl});
    
    			jQuery('#send_message_form').submit( function() {
    				var users = document.getElementById('send-to-usernames').className;
    				document.getElementById('send-to-usernames').value = String(users);
    			});
    		});
    

    I am using wp 3.9 and BP 2.0.1

  • The topic ‘Autocomplete stopped working?’ is closed to new replies.
Skip to toolbar