{"id":10,"date":"2007-11-02T01:27:58","date_gmt":"2007-11-01T17:27:58","guid":{"rendered":"http:\/\/amjet.dyndns.biz\/blog\/IT\/?p=10"},"modified":"2013-03-01T19:50:48","modified_gmt":"2013-03-01T11:50:48","slug":"getelementbyidinnerhtml-%e5%9c%a8-explorer-%e4%b8%8d%e8%83%bd%e6%ad%a3%e5%b8%b8%e9%a1%af%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/blog.amjet.biz\/IT\/?p=10","title":{"rendered":"getElementById().innerHTML \u5728 explorer \u4e0d\u80fd\u6b63\u5e38\u986f\u793a"},"content":{"rendered":"<p>\u627e\u4e86\u4e0d\u5c11\u8cc7\u6599\u5f97\u5230\u7684\u7d50\u8ad6\u662f innerHTML \u662f\u5fae\u8edf\u8a02\u51fa\u4f86\u7684\u6a19\u6e96\uff0c\u4f46\u662f firefox \u4e5f\u652f\u63f4\u4e86\uff0c\u7576\u7136\u7528 W3C \u7684 DOM \u4e5f\u53ef\u4ee5\u4f5c\u5230\uff0c \u76f8\u5bb9\u6027\u4e5f\u6bd4\u8f03\u597d\uff0c\u4f46\u662f\u8981\u5beb\u7684 code \u4e5f\u591a\u4e86\u4e0d\u5c11\u3002<\/p>\n<p>\u4e4b\u524d\u9047\u5230\u7684\u554f\u984c\u662f\uff0c\u5728\u52d5\u614b\u7522\u751f\u5167\u5bb9\u6642\u76f4\u89ba\u7684\u8981\u628a data row \u76f4\u63a5\u585e\u9032 table\uff0c\u4f8b\u5982<\/p>\n<p>&lt;table&gt;<\/p>\n<p>&lt;div id=&#8221;data&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>&lt;\/table&gt;<\/p>\n<p>AJAX code \u50b3\u56de &#8220;&lt;tr&gt;&lt;td&gt;name:&lt;\/td&gt;&lt;td&gt;Vincent&lt;\/td&gt;&lt;\/tr&gt;&#8221;\uff0c\u7528 getElementById(&#8216;data&#8217;).innerHTML \u585e\u56de\u50b3\u503c\uff0c firefox \u53ef\u4ee5\u6b63\u5e38\u986f\u793a\uff0cexplorer \u4e0d\u884c\uff0c\u5fae\u8edf\u7684\u7bc4\u4f8b\u662f\u7528 W3C \u7684 DOM \u4e00\u500b\u500b cell\uff0crow \u53bb\u52d5\u614b\u7522\u751f table\u3002<\/p>\n<p>\u6700\u8fd1\u767c\u73fe\u4e00\u500b\u4f5c\u6cd5\u5728 firefox\uff0cexplorer \u90fd\u53ef\u4ee5\u6b63\u5e38\u986f\u793a\uff0c\u5728 html \u5167\u4e00\u6a23\u7528 div \u7559\u4e0b\u4e00\u500b container \u4f4d\u7f6e<\/p>\n<p>&lt;div id=&#8221;data&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>AJAX code \u5982\u679c\u56de\u50b3\u6574\u500b table \u7684 html\uff0c\u4f8b\u5982 &#8220;&lt;table&gt;&lt;tr&gt;&lt;td&gt;name:&lt;\/td&gt;&lt;td&gt;Vincent&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;&#8221; \u518d\u7528  getElementById(&#8216;data&#8217;).innerHTML \u585e\u56de\u50b3\u503c\uff0c\u662f ok \u7684\u3002<\/p>\n<p><strong>[ratings]<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u627e\u4e86\u4e0d\u5c11\u8cc7\u6599\u5f97\u5230\u7684\u7d50\u8ad6\u662f innerHTML \u662f\u5fae\u8edf\u8a02\u51fa\u4f86\u7684\u6a19\u6e96\uff0c\u4f46\u662f firefox \u4e5f\u652f\u63f4\u4e86\uff0c\u7576\u7136\u7528 W3C \u7684 DOM \u4e5f\u53ef\u4ee5\u4f5c\u5230\uff0c \u76f8\u5bb9\u6027\u4e5f\u6bd4\u8f03\u597d\uff0c\u4f46\u662f\u8981\u5beb\u7684 code \u4e5f\u591a\u4e86\u4e0d\u5c11\u3002 \u4e4b\u524d\u9047\u5230\u7684\u554f\u984c\u662f\uff0c\u5728\u52d5\u614b\u7522\u751f\u5167\u5bb9\u6642\u76f4\u89ba\u7684\u8981\u628a data row \u76f4\u63a5\u585e\u9032 table\uff0c\u4f8b\u5982 &lt;table&gt; &lt;div id=&#8221;data&#8221;&gt;&lt;\/div&gt; &lt;\/table&gt; AJAX code \u50b3\u56de &#8220;&lt;tr&gt;&lt;td&gt;name:&lt;\/td&gt;&lt;td&gt;Vincent&lt;\/td&gt;&lt;\/tr&gt;&#8221;\uff0c\u7528 getElementById(&#8216;data&#8217;).innerHTML \u585e\u56de\u50b3\u503c\uff0c firefox \u53ef\u4ee5\u6b63\u5e38\u986f\u793a\uff0cexplorer \u4e0d\u884c\uff0c\u5fae\u8edf\u7684\u7bc4\u4f8b\u662f\u7528 W3C \u7684 DOM \u4e00\u500b\u500b cell\uff0crow \u53bb\u52d5\u614b\u7522\u751f table\u3002 \u6700\u8fd1\u767c\u73fe\u4e00\u500b\u4f5c\u6cd5\u5728 firefox\uff0cexplorer \u90fd\u53ef\u4ee5\u6b63\u5e38\u986f\u793a\uff0c\u5728 html \u5167\u4e00\u6a23\u7528 div \u7559\u4e0b\u4e00\u500b container \u4f4d\u7f6e &lt;div id=&#8221;data&#8221;&gt;&lt;\/div&gt; AJAX code \u5982\u679c\u56de\u50b3\u6574\u500b table \u7684 html\uff0c\u4f8b\u5982 &#8220;&lt;table&gt;&lt;tr&gt;&lt;td&gt;name:&lt;\/td&gt;&lt;td&gt;Vincent&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;&#8221; [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[45,44],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-ajax","tag-explorer","tag-javascript"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":4,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/748"}],"wp:attachment":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}