Autocomplete prevent further ajax request to be async

Autocomplete prevent further ajax request to be async

Hi,

I have a Problem that after a autocomplete selection, None of my async Ajax request are working async. They will be handled synchrone.. .


Without doing autocomplete, my Ajax request are able to fire as async. It strange, the ui is not blocked, but the requests depends on each other.. .

Does any one have the same issue recognized? I use jquery-ui Version 1.11.4 and jquery Version 1.11.3

Here is the autocomplete source Ajax code:

  1. $ ( '#request_for' ). autocomplete ({

    delay : 1000 ,

    autoFocus : true ,

    source : function ( request , response ) {

    $ . ajax ({

    url : '/Validation/Autocomplete' ,

    type : "get" ,

    dataType : 'json' ,

    data : 'term=' + $ ( '#request_for' ). val (),

    async : true ,

    cache : false ,

    success : function ( data ) {

    response ( data );

    }

    });