How to asynchronize to get the data from xml file using $.ajax in jquery

dannyeddy

New Member
\[code\]$.ajax({ type:"GET", url: 'resourse/test.xml', dataType: 'xml', async: true, success: function(data){\[/code\]I want to get the data from the xml file. So that I can store the data in the var one thread can write to the var while another on put the data in the var to a graph. How to do it. I tried several ways, but it seem the event under success stop before load the whole xml file.
 
Back
Top