From 8b36b50891dc031f1c84f00b4187a65dfeb37125 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Tue, 26 Oct 2021 09:23:44 -0500 Subject: fix ajax send formdata incorrect format (#2801) * fix ajax send formdata incorrect format * delete unnecessary code --- files/zh-cn/web/api/xmlhttprequest/send/index.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/zh-cn/web/api/xmlhttprequest/send/index.html b/files/zh-cn/web/api/xmlhttprequest/send/index.html index 6b96c92ebd..6f692710cd 100644 --- a/files/zh-cn/web/api/xmlhttprequest/send/index.html +++ b/files/zh-cn/web/api/xmlhttprequest/send/index.html @@ -92,7 +92,6 @@ xhr.send(null); // xhr.send('string'); // xhr.send(new Blob()); // xhr.send(new Int8Array()); -// xhr.send({ form: 'data' }); // xhr.send(document); @@ -111,7 +110,6 @@ xhr.send("foo=bar&lorem=ipsum"); // xhr.send('string'); // xhr.send(new Blob()); // xhr.send(new Int8Array()); -// xhr.send({ form: 'data' }); // xhr.send(document); -- cgit v1.2.3-54-g00ecf