{"id":281,"date":"2025-10-01T01:11:00","date_gmt":"2025-10-01T01:11:00","guid":{"rendered":"https:\/\/www.aiaprivate.com.hk\/tc\/?page_id=281"},"modified":"2025-11-01T07:40:51","modified_gmt":"2025-11-01T07:40:51","slug":"insights","status":"publish","type":"page","link":"https:\/\/www.aiaprivate.com.hk\/tc\/insights\/","title":{"rendered":"Insights"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<pre id=\"tw-target-text\" class=\"wp-block-preformatted\">\u5167\u5bb9\u5df2\u8a2d\u5b9a\u5bc6\u78bc\u4fdd\u8b77\u3002\u82e5\u8981\u67e5\u770b\u5167\u5bb9\uff0c\u8acb\u5728\u4e0b\u65b9\u8f38\u5165\u60a8\u7684\u5bc6\u78bc\uff1a<\/pre>\n\n<form id=\"passwordForm\">\n  <label for=\"password\">\u5bc6\u78bc:<\/label>\n  <input type=\"password\" id=\"password\" name=\"password\" required>\n  <button class=\"button\" type=\"submit\">\u63d0\u4ea4<\/button>\n<\/form>\n<p id=\"message\"><\/p>\n \n <script>\ndocument.getElementById('passwordForm').addEventListener('submit', function(event) {\n  \/\/ Prevent the default form submission behavior\n  event.preventDefault();\n\n  \/\/ Get the password input element\n  const passwordInput = document.getElementById('password');\n\n  \/\/ Get the value of the password\n  const passwordValue = passwordInput.value;\n\n  \/\/ For demonstration, display the password value (in a real application, you would send this to a server)\n  const messageElement = document.getElementById('message');\n  if (passwordValue) {\n     messageElement.textContent = `\u5bc6\u78bc\u932f\u8aa4!`;\n    \/\/messageElement.textContent = `Password submitted: ${passwordValue}`;\n    \/\/ In a real application, you would typically send this password to a server for authentication.\n    \/\/ Example: fetch('\/api\/login', { method: 'POST', body: JSON.stringify({ password: passwordValue }) });\n  } else {\n    messageElement.textContent = 'Please enter a password.';\n  }\n\n  \/\/ Clear the password field after submission (optional, for security)\n  passwordInput.value = '';\n});\n <\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u5167\u5bb9\u5df2\u8a2d\u5b9a\u5bc6\u78bc\u4fdd\u8b77\u3002\u82e5\u8981\u67e5\u770b\u5167\u5bb9\uff0c\u8acb\u5728\u4e0b\u65b9\u8f38\u5165\u60a8\u7684\u5bc6\u78bc\uff1a \u5bc6\u78bc: \u63d0\u4ea4<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"no_header","meta":{"footnotes":""},"class_list":["post-281","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/pages\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":20,"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/pages\/281\/revisions"}],"predecessor-version":[{"id":715,"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/pages\/281\/revisions\/715"}],"wp:attachment":[{"href":"https:\/\/www.aiaprivate.com.hk\/tc\/wp-json\/wp\/v2\/media?parent=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}