Change the asynchronous jQuery Dialog to be synchronous?

前端 未结 7 1376
名媛妹妹
名媛妹妹 2020-12-05 04:12

Currently, I\'m working to replace \"alert\'/\"confirm\" with the jquery dialog.

But most of legacy codes is written in some asynchronous way, which make it

7条回答
  •  伪装坚强ぢ
    2020-12-05 05:07

    Here's some ideas - what you actually want is to block your async event to make it look like sync. Here's some links:

    Queuing async calls

    Mobl

    Narrative JavaScript

    Hope this helps you further!!

提交回复
热议问题