<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：removeChild的障眼法</title>
	<atom:link href="http://www.zhangjingwei.com/archives/removechildlength/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhangjingwei.com/archives/removechildlength/</link>
	<description></description>
	<lastBuildDate>Sat, 07 Jan 2012 13:58:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>来自：tk007</title>
		<link>http://www.zhangjingwei.com/archives/removechildlength/comment-page-1/#comment-975</link>
		<dc:creator>tk007</dc:creator>
		<pubDate>Wed, 12 May 2010 02:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhangjingwei.com/?p=1189#comment-975</guid>
		<description>运行的结果是空白一片·~</description>
		<content:encoded><![CDATA[<p>运行的结果是空白一片·~</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：张经纬</title>
		<link>http://www.zhangjingwei.com/archives/removechildlength/comment-page-1/#comment-638</link>
		<dc:creator>张经纬</dc:creator>
		<pubDate>Mon, 28 Sep 2009 15:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhangjingwei.com/?p=1189#comment-638</guid>
		<description>@bunorte
可以用别的。

@船长 
是的，用while也蛮好的。</description>
		<content:encoded><![CDATA[<p>@bunorte<br />
可以用别的。</p>
<p>@船长<br />
是的，用while也蛮好的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：船长</title>
		<link>http://www.zhangjingwei.com/archives/removechildlength/comment-page-1/#comment-637</link>
		<dc:creator>船长</dc:creator>
		<pubDate>Mon, 28 Sep 2009 09:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhangjingwei.com/?p=1189#comment-637</guid>
		<description>var demoUl = document.getElementById(&#039;demo&#039;);
 var lis = demoUl.getElementsByTagName(&#039;li&#039;);
 while(lis.length) {
     demoUl.removeChild(lis[0]);
 }
这样子就安全多了</description>
		<content:encoded><![CDATA[<p>var demoUl = document.getElementById(&#8216;demo&#8217;);<br />
 var lis = demoUl.getElementsByTagName(&#8216;li&#8217;);<br />
 while(lis.length) {<br />
     demoUl.removeChild(lis[0]);<br />
 }<br />
这样子就安全多了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：船长</title>
		<link>http://www.zhangjingwei.com/archives/removechildlength/comment-page-1/#comment-636</link>
		<dc:creator>船长</dc:creator>
		<pubDate>Mon, 28 Sep 2009 09:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhangjingwei.com/?p=1189#comment-636</guid>
		<description>以前在ppk on javascript里面看过ppk谈这个问题，真的一不小心就弄错了。</description>
		<content:encoded><![CDATA[<p>以前在ppk on javascript里面看过ppk谈这个问题，真的一不小心就弄错了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：bunorte</title>
		<link>http://www.zhangjingwei.com/archives/removechildlength/comment-page-1/#comment-635</link>
		<dc:creator>bunorte</dc:creator>
		<pubDate>Sun, 27 Sep 2009 14:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhangjingwei.com/?p=1189#comment-635</guid>
		<description>这个循环是不是可以精简掉？</description>
		<content:encoded><![CDATA[<p>这个循环是不是可以精简掉？</p>
]]></content:encoded>
	</item>
</channel>
</rss>

