Synchronous calls with jquery

后端 未结 2 1376
渐次进展
渐次进展 2020-11-30 11:48

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

2条回答
  •  伪装坚强ぢ
    2020-11-30 12:04

    Like Obama would say: YES YOU CAN !

    jQuery .ajax()

    Setting

    async = false
    

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

提交回复
热议问题