This error does NOT depend on an AJAX-queue!

The autocomplete plugin sets an internal focus variable and if it is
not set then the autcomplete listing is not shown.

I added an option for focus. The option sets the internal focus and
also sets the cursor into the field:

$(document).ready(function() {
        $("#my_id").autocomplete('autocomplete.php',
                {
                        focus:true,
                }
        );
});
########################################################
jquery.autocomplete.js
###############################################
>>> line 28
        var keyb = false;
// next 2 lines changed
        var hasFocus = options.focus;
        if(hasFocus) $input.focus();
        var lastKeyPressCode = null;

>>>line 484
        options.width = parseInt(options.width, 10) || 0;
// next line changed
        options.focus = options.focus || false;


Hope it works for you.
Emile

Reply via email to