I am implementing the ajaxStart event to show the modal expression "loading".
But the big problem is that these are modal conflicts with jQuery Autocomplete, it just does not display a list of autocomplete results.
My autocomplete:
$("#txtInput").autocomplete({ minLength: 3, source: "autocomplete" , multiple: true, select: function( event, ui ) { $( "#cie" ).val( ui.item.label ); $("#id").val(ui.item.id); $("#addItem").prop('disabled', false); return false; } });
And I handle the Ajax events as follows:
$("#dlgWait").ajaxStart(function(){ $("#dlgWait").dialog('open'); }); $("#dlgWait").ajaxComplete(function(){ $("#dlgWait").dialog('close'); });
How can I turn off this modal autofill or somehow avoid this problem?
source share