$ .poll 允许您轮询AJAX呼叫,直到满足您的预定义条件。 在操作完成之前显示微调框的理想选择。 建立 API /* url: Points to the GET endpoint from where to poll interval_in_milliseconds: Interval between calls to the url terminator_callback: A callback function that returns true to indicate end of polling */ $ . poll ( urlToPoll , intervalInMil