weixin_33682790 2019-07-23 05:36 采纳率: 0%
浏览 53

用于jquery .load()的BeforeSend

Is it possible to set the execution of some code immediately after an initiation of ajax by .load() function, before sending the request to server? I need it to add xhr to array, to have an ability to abort all of xhr pool.

If it's not possible, and I should replace .load () by $.ajax().

is it possible to load not the whole html, but the part of it, like what .load() does?

  • 写回答

0条回答 默认 最新

    报告相同问题?