<?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>评论：Javascript在页面加载时的执行顺序</title>
	<atom:link href="http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/feed/" rel="self" type="application/rss+xml" />
	<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/</link>
	<description>WEB Design{HTML:CSS:Javascript:DOM:AJAX:PHP:Usability}/Viewpoint/Photo/Food/Mood</description>
	<lastBuildDate>Fri, 04 May 2012 20:16:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：screepinail</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-519956</link>
		<dc:creator>screepinail</dc:creator>
		<pubDate>Tue, 14 Feb 2012 02:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-519956</guid>
		<description>你好，我现在服务器加载和页面引用顺序不一致，请问这种情况有何解决方案？</description>
		<content:encoded><![CDATA[<p>你好，我现在服务器加载和页面引用顺序不一致，请问这种情况有何解决方案？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Daniel</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-398182</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 20 Aug 2011 03:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-398182</guid>
		<description>呃，再测试了一下。。发现是这样。。
如果是a.js或者的语句是通过创建结点的方式，通过dom添加的b.js。那么b.js里面的document.write()就会被ignore。。。</description>
		<content:encoded><![CDATA[<p>呃，再测试了一下。。发现是这样。。<br />
如果是a.js或者的语句是通过创建结点的方式，通过dom添加的b.js。那么b.js里面的document.write()就会被ignore。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Daniel</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-398173</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 20 Aug 2011 03:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-398173</guid>
		<description>使用 document.write()加载js的时候 有时候会失效。
在firebug中查看，提示
A call to document.write() from an asynchronously-loaded external script was ignored.
这样的警告，本来以为是dom加载完毕后就不执行这个了，可是测试发现，dom加载完毕后也不一定会出现这样的问题。。实在头大。。博主能否帮看看？</description>
		<content:encoded><![CDATA[<p>使用 document.write()加载js的时候 有时候会失效。<br />
在firebug中查看，提示<br />
A call to document.write() from an asynchronously-loaded external script was ignored.<br />
这样的警告，本来以为是dom加载完毕后就不执行这个了，可是测试发现，dom加载完毕后也不一定会出现这样的问题。。实在头大。。博主能否帮看看？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：js控制图片提前加载 &#171; ThreeCups.org</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-233990</link>
		<dc:creator>js控制图片提前加载 &#171; ThreeCups.org</dc:creator>
		<pubDate>Sat, 29 May 2010 15:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-233990</guid>
		<description>[...] 雅虎口碑秦歌的http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/ [...]</description>
		<content:encoded><![CDATA[<p>[...] 雅虎口碑秦歌的http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：关于html和javascript在浏览器中的加载顺序问题的讨论 &#171; 大尾巴狼的自留地</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-227306</link>
		<dc:creator>关于html和javascript在浏览器中的加载顺序问题的讨论 &#171; 大尾巴狼的自留地</dc:creator>
		<pubDate>Tue, 23 Feb 2010 02:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-227306</guid>
		<description>[...] html的加载过程 动态加载外部css或js文件 如何减少网页的内存与CPU占用 Javascript在页面加载时的执行顺序 document.onLoad事件的奇怪现象 javascript中的attachEvent与addEventListener [...]</description>
		<content:encoded><![CDATA[<p>[...] html的加载过程 动态加载外部css或js文件 如何减少网页的内存与CPU占用 Javascript在页面加载时的执行顺序 document.onLoad事件的奇怪现象 javascript中的attachEvent与addEventListener [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：simaopig</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-223098</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-223098</guid>
		<description>&lt;code&gt;

	
		
  			var msg = &quot;&quot;;
		

		
  			msg += &quot;defer(1) Inline head Deferred\n&quot;;
		

		
  			msg += &quot;Inline head\n&quot;;
		

		

		
		


	&lt;a href=&quot;;&quot; rel=&quot;nofollow&quot;&gt;Test Defer Attribute&lt;/A&gt;

	 
	  msg += &quot;defer(3) Inline body Deferred\n&quot;;
	
  
	
	  msg += &quot;Inline body\n&quot;;
	

	

	




&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code></p>
<p>  			var msg = "";</p>
<p>  			msg += "defer(1) Inline head Deferred\n";</p>
<p>  			msg += "Inline head\n";</p>
<p>	<a href=";" rel="nofollow">Test Defer Attribute</a></p>
<p>	  msg += "defer(3) Inline body Deferred\n";</p>
<p>	  msg += "Inline body\n";</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：simaopig</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-223097</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:30:40 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-223097</guid>
		<description>可是defer的执行顺序是什么样的？为何如下代码的结果如此诡异？


	
		
  			var msg = &quot;&quot;;
		

		
  			msg += &quot;defer(1) Inline head Deferred\n&quot;;
		

		
  			msg += &quot;Inline head\n&quot;;
		

		

		
		


	&lt;a href=&quot;;&quot; rel=&quot;nofollow&quot;&gt;Test Defer Attribute&lt;/A&gt;

	 
	  msg += &quot;defer(3) Inline body Deferred\n&quot;;
	
  
	
	  msg += &quot;Inline body\n&quot;;
	

	

	

</description>
		<content:encoded><![CDATA[<p>可是defer的执行顺序是什么样的？为何如下代码的结果如此诡异？</p>
<p>  			var msg = &#8220;&#8221;;</p>
<p>  			msg += &#8220;defer(1) Inline head Deferred\n&#8221;;</p>
<p>  			msg += &#8220;Inline head\n&#8221;;</p>
<p>	<a href=";" rel="nofollow">Test Defer Attribute</a></p>
<p>	  msg += &#8220;defer(3) Inline body Deferred\n&#8221;;</p>
<p>	  msg += &#8220;Inline body\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：匿名</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-220656</link>
		<dc:creator>匿名</dc:creator>
		<pubDate>Tue, 17 Nov 2009 13:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-220656</guid>
		<description>受教了</description>
		<content:encoded><![CDATA[<p>受教了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：dongyuwei</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-197474</link>
		<dc:creator>dongyuwei</dc:creator>
		<pubDate>Fri, 26 Jun 2009 14:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-197474</guid>
		<description>&lt;b&gt;firefox3&lt;/b&gt;支持defer属性。google： firefox  script defer</description>
		<content:encoded><![CDATA[<p><b>firefox3</b>支持defer属性。google： firefox  script defer</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：匿名</title>
		<link>http://dancewithnet.com/2007/03/22/order-of-execution-of-javascript-on-web/comment-page-1/#comment-164262</link>
		<dc:creator>匿名</dc:creator>
		<pubDate>Tue, 03 Mar 2009 17:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://dancewithnet.com/?p=860#comment-164262</guid>
		<description>您可以在下面评论内容中使用下列XHTML标签: 
&lt;a href=&quot;&quot; title=&quot;&quot; rel=&quot;nofollow&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt;</description>
		<content:encoded><![CDATA[<p>您可以在下面评论内容中使用下列XHTML标签:<br />
<a href="" title="" rel="nofollow"> <abbr title=""> <acronym title=""> <b><br />
<blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong></strong></strike></q></i></em></del></code></cite></p></blockquote>
<p></b></acronym></abbr></a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

