{"id":1607,"date":"2024-11-10T15:19:18","date_gmt":"2024-11-10T07:19:18","guid":{"rendered":"https:\/\/fwq.ai\/blog\/1607\/"},"modified":"2024-11-10T15:19:18","modified_gmt":"2024-11-10T07:19:18","slug":"xmlhttprequest-%e6%95%b0%e6%8d%ae%e5%8f%91%e9%80%81%e9%99%90%e5%88%b6%ef%bc%9a%e4%b8%ba%e4%bb%80%e4%b9%88-html-%e6%a0%87%e8%ae%b0%e9%9c%80%e8%a6%81%e7%a9%ba%e6%a0%bc%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/1607\/","title":{"rendered":"XMLHttpRequest \u6570\u636e\u53d1\u9001\u9650\u5236\uff1a\u4e3a\u4ec0\u4e48 HTML \u6807\u8bb0\u9700\u8981\u7a7a\u683c\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173051212929345.jpg\" class=\"aligncenter\" title=\"XMLHttpRequest \u6570\u636e\u53d1\u9001\u9650\u5236\uff1a\u4e3a\u4ec0\u4e48 HTML \u6807\u8bb0\u9700\u8981\u7a7a\u683c\uff1f\u63d2\u56fe\" alt=\"XMLHttpRequest \u6570\u636e\u53d1\u9001\u9650\u5236\uff1a\u4e3a\u4ec0\u4e48 HTML \u6807\u8bb0\u9700\u8981\u7a7a\u683c\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>xmlhttprequest \u6570\u636e\u53d1\u9001\u9650\u5236<\/strong><\/p>\n<p>\u53d1\u9001 xmlhttprequest \u8bf7\u6c42\u65f6\uff0c\u4f20\u8f93\u7684\u6570\u636e\u9700\u8981\u7b26\u5408\u7279\u5b9a\u683c\u5f0f\u3002\u5f53\u6570\u636e\u4e2d\u5305\u542b html \u6807\u8bb0\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u53d1\u9001\u5931\u8d25\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u5177\u4f53\u6765\u8bf4\uff0c\u5982\u679c html \u6807\u8bb0\u4e0d\u5305\u542b\u7a7a\u683c\uff0cxmlhttprequest \u53ef\u80fd\u4f1a\u5c06\u5b83\u4eec\u8bc6\u522b\u4e3a\u5371\u9669\u5b57\u7b26\u5e76\u62d2\u7edd\u53d1\u9001\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u5c1d\u8bd5\u53d1\u9001\u4ee5\u4e0b\u6570\u636e\uff1a<\/p>\n<pre>data = \"a=a&amp;b=\" + escape(\"&lt;row id='1'&gt;&lt;\/u&gt;&lt;u&gt;&lt;\/row&gt;\");<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8bf7\u6c42\u5c06\u53d1\u9001\u5931\u8d25\uff0c\u56e0\u4e3a &#8220;<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<pre>data = \"A=a&amp;B=\" + escape(\"&lt; row id='1'&gt;&lt;\/u&gt;&lt;u&gt;&lt;\/row&gt;\");<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u6837\uff0cxmlhttprequest \u5c31\u53ef\u4ee5\u8bc6\u522b\u4e3a\u666e\u901a\u7684 html \u6807\u8bb0\u5e76\u6210\u529f\u53d1\u9001\u6570\u636e\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fXMLHttpRequest \u6570\u636e\u53d1\u9001\u9650\u5236\uff1a\u4e3a\u4ec0\u4e48 HTML \u6807\u8bb0\u9700\u8981\u7a7a\u683c\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>xmlhttprequest \u6570\u636e\u53d1\u9001\u9650\u5236 \u53d1\u9001 xmlhttprequest \u8bf7\u6c42\u65f6\uff0c\u4f20\u8f93\u7684\u6570\u636e\u9700\u8981\u7b26\u5408\u7279\u5b9a\u683c\u5f0f\u3002\u5f53\u6570\u636e\u4e2d\u5305\u542b html \u6807\u8bb0\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u53d1\u9001\u5931\u8d25\u7684\u60c5\u51b5\u3002 \u5177\u4f53\u6765\u8bf4\uff0c\u5982\u679c html \u6807\u8bb0\u4e0d\u5305\u542b\u7a7a\u683c\uff0cxmlhttprequest \u53ef\u80fd\u4f1a\u5c06\u5b83\u4eec\u8bc6\u522b\u4e3a\u5371\u9669\u5b57\u7b26\u5e76\u62d2\u7edd\u53d1\u9001\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6211\u4eec\u5c1d\u8bd5\u53d1\u9001\u4ee5\u4e0b\u6570\u636e\uff1a data = &#8220;a=a&amp;b=&#8221; + escape(&#8220;&lt;row id=&#8217;1&#8242;&gt;&lt;\/u&gt;&lt;u&gt;&lt;\/row&gt;&#8221;); \u767b\u5f55\u540e\u590d\u5236 \u8bf7\u6c42\u5c06\u53d1\u9001\u5931\u8d25\uff0c\u56e0\u4e3a &#8220; \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b data = &#8220;A=a&amp;B=&#8221; + escape(&#8220;&lt; row id=&#8217;1&#8242;&gt;&lt;\/u&gt;&lt;u&gt;&lt;\/row&gt;&#8221;); \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u6837\uff0cxmlhttprequest \u5c31\u53ef\u4ee5\u8bc6\u522b\u4e3a\u666e\u901a\u7684 html \u6807\u8bb0\u5e76\u6210\u529f\u53d1\u9001\u6570\u636e\u3002 \u4ee5\u4e0a\u5c31\u662fXMLHttpRequest \u6570\u636e\u53d1\u9001\u9650\u5236\uff1a\u4e3a\u4ec0\u4e48 HTML \u6807\u8bb0\u9700\u8981\u7a7a\u683c\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-1607","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/1607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=1607"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/1607\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=1607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=1607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=1607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}