From 4873c5f1122ac800cf3c916a52df07e05ddc9dcf Mon Sep 17 00:00:00 2001 From: MDN Date: Fri, 11 Feb 2022 00:58:37 +0000 Subject: [CRON] sync translated content --- .../onloadstart/index.html | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 files/zh-cn/web/api/xmlhttprequesteventtarget/onloadstart/index.html (limited to 'files/zh-cn/web/api/xmlhttprequesteventtarget/onloadstart/index.html') diff --git a/files/zh-cn/web/api/xmlhttprequesteventtarget/onloadstart/index.html b/files/zh-cn/web/api/xmlhttprequesteventtarget/onloadstart/index.html deleted file mode 100644 index 1501afd132..0000000000 --- a/files/zh-cn/web/api/xmlhttprequesteventtarget/onloadstart/index.html +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: XMLHttpRequestEventTarget.onloadstart -slug: Web/API/XMLHttpRequestEventTarget/onloadstart -translation_of: Web/API/XMLHttpRequestEventTarget/onloadstart ---- -
{{APIRef("XMLHttpRequest")}}
- -

XMLHttpRequestEventTarget.onloadstart 在{{domxref("XMLHttpRequest")}} 开始传送数据时被调用

- -

语法

- -
XMLHttpRequest.onloadstart = callback;
- -

- - - -

示例

- -
var xmlhttp = new XMLHttpRequest(),
-  method = 'GET',
-  url = 'https://developer.mozilla.org/';
-
-xmlhttp.open(method, url, true);
-xmlhttp.onloadstart = function () {
-  console.log("Download underway");
-};
-xmlhttp.send();
-
- -

规范

- - - - - - - - - - - - - - -
规范状态说明
{{SpecName('XMLHttpRequest', '#handler-xhr-onloadstart')}}{{Spec2('XMLHttpRequest')}}WHATWG 现存标准
- -

浏览器兼容性

- - - -

{{Compat("api.XMLHttpRequestEventTarget.onloadstart")}}

-- cgit v1.2.3-54-g00ecf