{"id":168442,"date":"2024-05-08T16:23:57","date_gmt":"2024-05-08T08:23:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/168442.html"},"modified":"2024-05-08T16:24:10","modified_gmt":"2024-05-08T08:24:10","slug":"javascript-%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0%e5%8a%a8%e6%80%81%e6%b7%bb%e5%8a%a0-form-%e8%a1%a8%e5%8d%95%e5%85%83%e7%b4%a0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/168442.html","title":{"rendered":"JavaScript \u600e\u4e48\u5b9e\u73b0\u52a8\u6001\u6dfb\u52a0 Form \u8868\u5355\u5143\u7d20"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27034614\/1a3c7c26-e74a-41b9-b290-8ef4676f6946.webp\" alt=\"JavaScript \u600e\u4e48\u5b9e\u73b0\u52a8\u6001\u6dfb\u52a0 Form \u8868\u5355\u5143\u7d20\" \/><\/p>\n<p><p>\u5728Web\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u52a8\u6001\u6dfb\u52a0Form\u8868\u5355\u5143\u7d20\u662f\u4e00\u9879\u5e38\u89c1\u7684\u9700\u6c42\u3002\u8fd9\u4e3b\u8981\u4f9d\u8d56\u4e8eJavaScript\u6765\u5b9e\u73b0\u3002<strong>\u6838\u5fc3\u65b9\u6cd5\u5305\u62ec\uff1a\u83b7\u53d6\u7236\u5143\u7d20\u3001\u521b\u5efa\u65b0\u5143\u7d20\u3001\u914d\u7f6e\u65b0\u5143\u7d20\u5c5e\u6027\u3001\u5c06\u65b0\u5143\u7d20\u6dfb\u52a0\u5230\u7236\u5143\u7d20\u4e2d<\/strong>\u3002\u8fd9\u91cc\u6211\u4eec\u5c06\u4e3b\u8981\u8ba8\u8bba\u5982\u4f55<strong>\u521b\u5efa\u65b0\u5143\u7d20<\/strong>\u5e76\u52a8\u6001\u52a0\u5165\u5230\u8868\u5355\u4e2d\uff0c\u4f5c\u4e3a\u5165\u95e8\u7684\u5173\u952e\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u521b\u5efa\u65b0\u5143\u7d20\u662f\u52a8\u6001\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u7684\u6838\u5fc3\u3002\u901a\u8fc7JavaScript\u7684<code>document.createElement<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u521b\u5efa\u4efb\u4f55HTML\u5143\u7d20\u3002\u4f8b\u5982\uff0c<code>document.createElement(&#039;input&#039;)<\/code>\u5c06\u521b\u5efa\u4e00\u4e2a\u65b0\u7684input\u5143\u7d20\u3002\u521b\u5efa\u5143\u7d20\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u5176<code>type<\/code>\u3001<code>name<\/code>\u3001<code>value<\/code>\u7b49\u5c5e\u6027\u6765\u914d\u7f6e\u8fd9\u4e2a\u65b0\u5143\u7d20\uff0c\u4f7f\u5176\u6ee1\u8db3\u7279\u5b9a\u7684\u9700\u6c42\u3002\u63a5\u4e0b\u6765\uff0c\u8fd9\u4e2a\u65b0\u521b\u5efa\u7684\u5143\u7d20\u53ef\u4ee5\u88ab\u6dfb\u52a0\u5230\u8868\u5355\u4e2d\uff0c\u5b9e\u73b0\u52a8\u6001\u6dfb\u52a0\u5143\u7d20\u7684\u76ee\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u7406\u89e3DOM\u64cd\u4f5c<\/h3>\n<\/p>\n<p><p>DOM\uff0c\u5373\u6587\u6863\u5bf9\u8c61\u6a21\u578b(Document Object Model)\uff0c\u662fJavaScript\u4e0eHTML\u6587\u6863\u4ea4\u4e92\u7684\u63a5\u53e3\u3002\u5728\u52a8\u6001\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u65f6\uff0c\u7406\u89e3\u548c\u5229\u7528DOM\u64cd\u4f5c\u662f\u5173\u952e\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u4f7f\u7528<code>document.getElementById<\/code>\u6216<code>document.querySelector<\/code>\u7b49\u65b9\u6cd5\u83b7\u53d6\u5230\u60f3\u8981\u6dfb\u52a0\u65b0\u5143\u7d20\u7684\u7236\u5143\u7d20\u2014\u2014\u901a\u5e38\u662f\u4e00\u4e2aform\u6807\u7b7e\u6216\u5176\u4e2d\u7684\u4e00\u4e2adiv\u5bb9\u5668\u3002\u83b7\u53d6\u7236\u5143\u7d20\u4e4b\u540e\uff0c\u63a5\u4e0b\u6765\u7684\u6b65\u9aa4\u5c31\u662f\u521b\u5efa\u65b0\u7684\u8868\u5355\u5143\u7d20\uff0c\u5e76\u5c06\u5176\u4f5c\u4e3a\u5b50\u5143\u7d20\u52a0\u5165\u5230\u7236\u5143\u7d20\u4e2d\u3002<\/p>\n<\/p>\n<p><p>\u5176\u6b21\uff0c\u8981\u521b\u5efa\u65b0\u5143\u7d20\uff0c\u5982\u524d\u6240\u8ff0\uff0c\u4f7f\u7528<code>document.createElement<\/code>\u65b9\u6cd5\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u5141\u8bb8\u4f60\u6307\u5b9a\u5143\u7d20\u7684\u7c7b\u578b\uff0c\u5982<code>input<\/code>\u3001<code>select<\/code>\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u5e76\u914d\u7f6e\u65b0\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u521b\u5efa\u5143\u7d20\u540e\uff0c\u4e0b\u4e00\u6b65\u662f\u914d\u7f6e\u8fd9\u4e2a\u5143\u7d20\u3002\u8fd9\u5305\u62ec\u8bbe\u7f6e\u5143\u7d20\u7684\u5404\u79cd\u5c5e\u6027\u4ee5\u6ee1\u8db3\u7279\u5b9a\u7684\u9700\u8981\u3002\u4f8b\u5982\uff0c\u5982\u679c\u521b\u5efa\u4e86\u4e00\u4e2ainput\u5143\u7d20\uff0c\u53ef\u80fd\u9700\u8981\u4e3a\u5176\u6307\u5b9a<code>type<\/code>\uff08\u5982text\u3001checkbox\uff09\u3001<code>name<\/code>\u3001<code>value<\/code>\u7b49\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u4e5f\u53ef\u4ee5\u6dfb\u52a0\u6837\u5f0f\u6216\u7c7b\u6765\u6539\u53d8\u5143\u7d20\u7684\u5916\u89c2\uff0c\u4f7f\u7528<code>element.style<\/code>\u5c5e\u6027\u6216<code>element.classList.add<\/code>\u65b9\u6cd5\u3002\u8fd9\u4e3a\u52a8\u6001\u6dfb\u52a0\u7684\u5143\u7d20\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\uff0c\u4e0d\u4ec5\u4ec5\u662f\u529f\u80fd\u4e0a\u7684\uff0c\u4e5f\u5305\u62ec\u89c6\u89c9\u4e0a\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5c06\u65b0\u5143\u7d20\u6dfb\u52a0\u5230\u7236\u5143\u7d20\u4e2d<\/h3>\n<\/p>\n<p><p>\u914d\u7f6e\u597d\u65b0\u5143\u7d20\u540e\uff0c\u6700\u540e\u4e00\u6b65\u662f\u5c06\u5176\u6dfb\u52a0\u5230\u7236\u5143\u7d20\u4e2d\uff0c\u4f7f\u5176\u6210\u4e3a\u9875\u9762\u7684\u4e00\u90e8\u5206\u3002\u8fd9\u901a\u8fc7<code>appendChild<\/code>\u6216<code>insertBefore<\/code>\u65b9\u6cd5\u5b9e\u73b0\u3002<code>appendChild<\/code>\u65b9\u6cd5\u5c06\u65b0\u5143\u7d20\u6dfb\u52a0\u5230\u7236\u5143\u7d20\u7684\u5b50\u5143\u7d20\u5217\u8868\u672b\u5c3e\uff0c\u800c<code>insertBefore<\/code>\u65b9\u6cd5\u5219\u5141\u8bb8\u4f60\u6307\u5b9a\u65b0\u5143\u7d20\u63d2\u5165\u7684\u5177\u4f53\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u6b65\u9aa4\u5b8c\u6210\u540e\uff0c\u52a8\u6001\u6dfb\u52a0\u7684\u8868\u5355\u5143\u7d20\u5373\u53ef\u663e\u793a\u5728\u9875\u9762\u4e0a\uff0c\u7528\u6237\u53ef\u4ee5\u4e0e\u4e4b\u4ea4\u4e92\u3002\u8fd9\u5bf9\u4e8e\u521b\u5efa\u52a8\u6001\u8868\u5355\u3001\u6839\u636e\u7528\u6237\u64cd\u4f5c\u6dfb\u52a0\u66f4\u591a\u9009\u9879\u7b49\u573a\u666f\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u76d1\u542c\u4e8b\u4ef6\u4ee5\u52a8\u6001\u6dfb\u52a0\u5143\u7d20<\/h3>\n<\/p>\n<p><p>\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u901a\u5e38\u4f1a\u6839\u636e\u67d0\u4e9b\u4e8b\u4ef6\uff08\u5982\u70b9\u51fb\u6309\u94ae\uff09\u6765\u89e6\u53d1\u52a8\u6001\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u7684\u884c\u4e3a\u3002\u8fd9\u9700\u8981\u5bf9\u7279\u5b9a\u5143\u7d20\u6dfb\u52a0\u4e8b\u4ef6\u76d1\u542c\u5668\uff0c\u76d1\u542c\u5982<code>click<\/code>\u3001<code>change<\/code>\u7b49\u4e8b\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7<code>addEventListener<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4e3a\u6309\u94ae\u6216\u5176\u4ed6\u5143\u7d20\u6dfb\u52a0\u4e8b\u4ef6\u76d1\u542c\u5668\u3002\u5f53\u4e8b\u4ef6\u89e6\u53d1\u65f6\uff0c\u6267\u884c\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u7684\u51fd\u6570\uff0c\u8fd9\u6837\u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u4ea4\u4e92\u52a8\u6001\u5730\u4fee\u6539\u8868\u5355\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u6761\u4ef6\u5224\u65ad\u3001\u5faa\u73af\u7b49JavaScript\u57fa\u7840\uff0c\u8fdb\u4e00\u6b65\u589e\u5f3a\u52a8\u6001\u6dfb\u52a0\u5143\u7d20\u7684\u529f\u80fd\u6027\u548c\u7075\u6d3b\u6027\uff0c\u5982\u6839\u636e\u7528\u6237\u9009\u62e9\u7684\u4e0d\u540c\uff0c\u6dfb\u52a0\u4e0d\u540c\u7c7b\u578b\u7684\u8868\u5355\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7ef4\u62a4\u8868\u5355\u72b6\u6001<\/h3>\n<\/p>\n<p><p>\u52a8\u6001\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u53ef\u80fd\u4f1a\u5bf9\u8868\u5355\u7684\u6570\u636e\u63d0\u4ea4\u9020\u6210\u5f71\u54cd\u3002\u56e0\u6b64\uff0c\u91cd\u8981\u7684\u662f\u8981\u786e\u4fdd\u52a8\u6001\u6dfb\u52a0\u7684\u8868\u5355\u5143\u7d20\u6b63\u786e\u5730\u96c6\u6210\u5230\u8868\u5355\u6570\u636e\u4e2d\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u8868\u5355\u63d0\u4ea4\u65f6\u3002<\/p>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4e3a\u52a8\u6001\u6dfb\u52a0\u7684\u5143\u7d20\u547d\u540d\u548c\u4f7f\u7528\u6570\u7ec4\u540d\u79f0\u3001\u4fdd\u6301\u5143\u7d20\u987a\u5e8f\u3001\u786e\u4fdd\u65b0\u5143\u7d20\u5305\u542b\u5728\u8868\u5355\u63d0\u4ea4\u4e2d\u7b49\u65b9\u6cd5\uff0c\u6765\u7ef4\u6301\u548c\u7ba1\u7406\u8868\u5355\u7684\u72b6\u6001\u548c\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0cJavaScript\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684DOM\u64cd\u4f5cAPI\uff0c\u4f7f\u5f97\u52a8\u6001\u6dfb\u52a0\u8868\u5355\u5143\u7d20\u53d8\u5f97\u53ef\u80fd\u3002\u901a\u8fc7\u7406\u89e3\u548c\u8fd0\u7528\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u7ed3\u5408\u4e8b\u4ef6\u76d1\u542c\u548c\u72b6\u6001\u7ef4\u62a4\uff0c\u53ef\u4ee5\u5b9e\u73b0\u590d\u6742\u4e14\u7528\u6237\u53cb\u597d\u7684\u8868\u5355\u4ea4\u4e92\u529f\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u52a8\u6001\u6dfb\u52a0 Form \u8868\u5355\u5143\u7d20\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u521b\u5efa\u4e00\u4e2a\u7a7a\u7684\u8868\u5355\u5143\u7d20\u3002<\/strong> \u4f7f\u7528<code>document.createElement<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u7a7a\u7684\u8868\u5355\u5143\u7d20\uff0c\u5982<code>&lt;form&gt;<\/code>\u6807\u7b7e\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u9700\u8981\u6dfb\u52a0\u7684\u8868\u5355\u5143\u7d20\u3002<\/strong> \u4f7f\u7528<code>document.createElement<\/code>\u65b9\u6cd5\u521b\u5efa\u9700\u8981\u6dfb\u52a0\u7684\u8868\u5355\u5143\u7d20\uff0c\u5982<code>&lt;input&gt;<\/code>\u6807\u7b7e\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u8868\u5355\u5143\u7d20\u7684\u5c5e\u6027\u548c\u503c\u3002<\/strong> \u4f7f\u7528<code>setAttribute<\/code>\u65b9\u6cd5\u8bbe\u7f6e\u8868\u5355\u5143\u7d20\u7684\u5c5e\u6027\u548c\u503c\uff0c\u5982<code>name<\/code>\u3001<code>type<\/code>\u3001<code>value<\/code>\u7b49\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5c06\u8868\u5355\u5143\u7d20\u6dfb\u52a0\u5230\u8868\u5355\u4e2d\u3002<\/strong> \u4f7f\u7528<code>appendChild<\/code>\u65b9\u6cd5\u5c06\u8868\u5355\u5143\u7d20\u6dfb\u52a0\u5230\u4e4b\u524d\u521b\u5efa\u7684\u7a7a\u8868\u5355\u5143\u7d20\u4e2d\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5c06\u8868\u5355\u6dfb\u52a0\u5230\u6587\u6863\u4e2d\u3002<\/strong> \u4f7f\u7528<code>document.body.appendChild<\/code>\u65b9\u6cd5\u5c06\u8868\u5355\u6dfb\u52a0\u5230\u6587\u6863\u4e2d\uff0c\u4ee5\u4fbf\u5728\u9875\u9762\u4e0a\u663e\u793a\u3002<\/p>\n<\/li>\n<\/ul>\n<p><strong>2. \u5982\u4f55\u4f7f\u7528 JavaScript \u52a8\u6001\u6dfb\u52a0\u591a\u4e2a\u8868\u5355\u5143\u7d20\uff1f<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528\u5faa\u73af\u548c\u6570\u7ec4\u3002<\/strong> \u4f7f\u7528\u5faa\u73af\u548c\u6570\u7ec4\u53ef\u4ee5\u52a8\u6001\u5730\u6dfb\u52a0\u591a\u4e2a\u8868\u5355\u5143\u7d20\u3002\u901a\u8fc7\u904d\u5386\u6570\u7ec4\uff0c\u6bcf\u6b21\u5faa\u73af\u90fd\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u8868\u5355\u5143\u7d20\uff0c\u7136\u540e\u5c06\u5176\u6dfb\u52a0\u5230\u8868\u5355\u4e2d\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6839\u636e\u7528\u6237\u8f93\u5165\u52a8\u6001\u6dfb\u52a0\u3002<\/strong> \u53ef\u4ee5\u6839\u636e\u7528\u6237\u7684\u8f93\u5165\u52a8\u6001\u5730\u6dfb\u52a0\u591a\u4e2a\u8868\u5355\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5728\u7528\u6237\u70b9\u51fb\u4e00\u4e2a\u6309\u94ae\u6216\u8f93\u5165\u4e00\u5b9a\u6570\u91cf\u7684\u6587\u672c\u540e\uff0c\u6839\u636e\u7528\u6237\u7684\u64cd\u4f5c\u52a8\u6001\u6dfb\u52a0\u76f8\u5e94\u6570\u91cf\u7684\u8868\u5355\u5143\u7d20\u3002<\/p>\n<\/li>\n<\/ul>\n<p><strong>3. \u5982\u4f55\u5728\u52a8\u6001\u6dfb\u52a0\u7684\u8868\u5355\u5143\u7d20\u4e2d\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u503c\uff1f<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u901a\u8fc7\u8868\u5355\u5143\u7d20\u7684\u5c5e\u6027\u3002<\/strong> \u53ef\u4ee5\u4f7f\u7528\u8868\u5355\u5143\u7d20\u7684\u5c5e\u6027\uff0c\u5982<code>value<\/code>\uff0c\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u503c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>document.getElementById<\/code>\u65b9\u6cd5\u83b7\u53d6\u5230\u76f8\u5e94\u7684\u8868\u5355\u5143\u7d20\uff0c\u7136\u540e\u4f7f\u7528<code>value<\/code>\u5c5e\u6027\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u503c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u901a\u8fc7\u4e8b\u4ef6\u76d1\u542c\u5668\u3002<\/strong> \u53ef\u4ee5\u4f7f\u7528\u4e8b\u4ef6\u76d1\u542c\u5668\uff0c\u5728\u7528\u6237\u8f93\u5165\u5b8c\u6210\u540e\u6355\u83b7\u8868\u5355\u5143\u7d20\u7684\u503c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>addEventListener<\/code>\u65b9\u6cd5\u76d1\u542c\u8868\u5355\u5143\u7d20\u7684<code>input<\/code>\u4e8b\u4ef6\uff0c\u5f53\u7528\u6237\u8f93\u5165\u5b8c\u6210\u540e\uff0c\u6267\u884c\u76f8\u5e94\u7684\u51fd\u6570\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u503c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u901a\u8fc7\u8868\u5355\u63d0\u4ea4\u3002<\/strong> \u5728\u7528\u6237\u5b8c\u6210\u8868\u5355\u8f93\u5165\u540e\uff0c\u5c06\u6574\u4e2a\u8868\u5355\u63d0\u4ea4\u5230\u670d\u52a1\u5668\uff0c\u7136\u540e\u5728\u670d\u52a1\u5668\u7aef\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u503c\u3002\u53ef\u4ee5\u4f7f\u7528\u8868\u5355\u7684<code>action<\/code>\u5c5e\u6027\u548c<code>submit<\/code>\u65b9\u6cd5\u6765\u5b8c\u6210\u8868\u5355\u7684\u63d0\u4ea4\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u5728Web\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u52a8\u6001\u6dfb\u52a0Form\u8868\u5355\u5143\u7d20\u662f\u4e00\u9879\u5e38\u89c1\u7684\u9700\u6c42\u3002\u8fd9\u4e3b\u8981\u4f9d\u8d56\u4e8eJavaScript\u6765\u5b9e\u73b0\u3002\u6838\u5fc3\u65b9\u6cd5 [&hellip;]","protected":false},"author":3,"featured_media":168473,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/168442"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=168442"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/168442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/168473"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=168442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=168442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=168442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}