doedje / jquery.soap

This script uses $.ajax to send a SOAP:Envelope. It can take XML DOM, XML string or JSON as input and the response can be returned as either XML DOM, XML string or JSON too.
352 stars 147 forks source link

How to set the ajax aync option? #28

Closed malaiselvan closed 10 years ago

malaiselvan commented 10 years ago

Hi,

Its not an issue but a question.

In ajax we have an option to 'async'. While using soap library how can I set that?

doedje commented 10 years ago

While I don't recommend the use of async: false because of total browser freezes, the option is available in $.soap

$.soap({ async: false });

doedje commented 10 years ago

I'll update the readme: it does currently not mention the async option....