Refresh with multiple pages

Hi,



I make a search like google search.



When the user enter e letter, I send ajax request by:



mygrid.clearAll();

mygrid.loadXML(‘xml/getListeCas.php?recherche=’+recherche);

            



For each letter a new ajax is send even if the first ajax is not finish.



I would like to know if it’s possible to stop the last request and keep only the last one.



thanks



sandaly

You can try to use

mygrid.xmlLoader.xmlDoc.abort();

before executing new loadXML command.