jQuery Synchronous Calls – How to Make Synchronous Calls with jQuery

ajaxjquerysynchronous

Can I make use of jQuery AJAX API and make a synchronous calls?

Best Answer

Like Obama would say: YES YOU CAN !

jQuery .ajax()

Setting

async = false

within the .ajax() handler will do the trick.

Related Question