At the moment I\'m using the post method like this
$.ajax({ type: \"POST\", url: \"Servicename.asmx/DoSomeCalculation\", data: \"{param1ID:\"+ par
There is a "async" flag for making the ajax call synchronous or asynchronous. You can define it as:
$.ajax({ async: false/true, //rest of code });