Setup:
I am doing an ajax-jsonp call, which is working fine. The callback function of this changes value of a variable, \"myVaraible\". Just after the c
From the $.ajax documentation:
Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation
So, you'll need to put anything that relies on the results of the request in the callback.