<?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>《《jQuery基础教程》的Q&amp;A》的评论</title>
	<atom:link href="http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html</link>
	<description>为之漫笔（李松峰），本博客专注于Web前后端技术、移动平台开发技术、交互设计和技术翻译。声明一下，因为时常需要外出审稿，而且基本不带笔记本，所以有时可能会迟一点回复大家的留言。</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:56:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>tonyxiaomao</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-3200</link>
		<dc:creator>tonyxiaomao</dc:creator>
		<pubDate>Mon, 30 Aug 2010 08:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-3200</guid>
		<description>楼主你好，在学习楼主译作过程中遇上xmuni的同样问题。
$.get(‘d.xml’, function(data) {

$(data).find(‘entry’).each(function(){

……

});
});
运行之后页面无任何结果。我是把d.xml文件放在与此页面同一文件夹中。
我添加一段：$(&quot;#dictionary&quot;).empty();alert($(data).find(&#039;entry&#039;).length);
alert显示的length是0。所以下面代码不会被执行。我实在不解。对照楼主提供的地址中的代码，除了没用XPath以外完全相同。所以还是冒昧请教楼主我的问题在哪里呢？PS：我是用EditPlus写的代码。</description>
		<content:encoded><![CDATA[<p>楼主你好，在学习楼主译作过程中遇上xmuni的同样问题。<br />
$.get(‘d.xml’, function(data) {</p>
<p>$(data).find(‘entry’).each(function(){</p>
<p>……</p>
<p>});<br />
});<br />
运行之后页面无任何结果。我是把d.xml文件放在与此页面同一文件夹中。<br />
我添加一段：$(&#8220;#dictionary&#8221;).empty();alert($(data).find(&#8216;entry&#8217;).length);<br />
alert显示的length是0。所以下面代码不会被执行。我实在不解。对照楼主提供的地址中的代码，除了没用XPath以外完全相同。所以还是冒昧请教楼主我的问题在哪里呢？PS：我是用EditPlus写的代码。</p>
]]></content:encoded>
	</item>
	<item>
		<title>为之漫笔</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-3174</link>
		<dc:creator>为之漫笔</dc:creator>
		<pubDate>Sat, 14 Aug 2010 08:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-3174</guid>
		<description>@xmuni 请参考如下链接：

http://book.learningjquery.com/</description>
		<content:encoded><![CDATA[<p>@xmuni 请参考如下链接：</p>
<p><a href="http://book.learningjquery.com/" rel="nofollow">http://book.learningjquery.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>xmuni</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-3096</link>
		<dc:creator>xmuni</dc:creator>
		<pubDate>Thu, 05 Aug 2010 03:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-3096</guid>
		<description>您书中第6章第82页底部代码

$.get(‘d.xml’, function(data) {

$(data).find(‘entry’).each(function(){

……

});
});
为何运行无结果？
按照您对上述某问题的回答，这种状况下data仍然知识xmlDom树的话，那应该如何修改？</description>
		<content:encoded><![CDATA[<p>您书中第6章第82页底部代码</p>
<p>$.get(‘d.xml’, function(data) {</p>
<p>$(data).find(‘entry’).each(function(){</p>
<p>……</p>
<p>});<br />
});<br />
为何运行无结果？<br />
按照您对上述某问题的回答，这种状况下data仍然知识xmlDom树的话，那应该如何修改？</p>
]]></content:encoded>
	</item>
	<item>
		<title>为之漫笔</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2933</link>
		<dc:creator>为之漫笔</dc:creator>
		<pubDate>Fri, 23 Apr 2010 05:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2933</guid>
		<description>@Seven

还在看《jQuery基础教程》吗，是不是买得早放到现在才看？

&lt;a href=&quot;http://www.cn-cuckoo.com/2009/11/04/learning-jquery-1-3-has-published-1212.html&quot; rel=&quot;nofollow&quot;&gt;《jQuery基础教程（第2版）》都已经出了&lt;/a&gt;。还有这个链接：&lt;a href=&quot;http://www.china-pub.com/196139&quot; rel=&quot;nofollow&quot;&gt;http://www.china-pub.com/196139&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@Seven</p>
<p>还在看《jQuery基础教程》吗，是不是买得早放到现在才看？</p>
<p><a href="http://www.cn-cuckoo.com/2009/11/04/learning-jquery-1-3-has-published-1212.html" rel="nofollow">《jQuery基础教程（第2版）》都已经出了</a>。还有这个链接：<a href="http://www.china-pub.com/196139" rel="nofollow">http://www.china-pub.com/196139</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Seven</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2932</link>
		<dc:creator>Seven</dc:creator>
		<pubDate>Fri, 23 Apr 2010 02:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2932</guid>
		<description>谢谢你, 我也在看, jquery 基础教程. 在问题2苦恼了. 呵呵.

谢谢您.</description>
		<content:encoded><![CDATA[<p>谢谢你, 我也在看, jquery 基础教程. 在问题2苦恼了. 呵呵.</p>
<p>谢谢您.</p>
]]></content:encoded>
	</item>
	<item>
		<title>为之漫笔</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2757</link>
		<dc:creator>为之漫笔</dc:creator>
		<pubDate>Sun, 01 Nov 2009 00:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2757</guid>
		<description>@jsyczhanghao

你这种情况很“正常”，我也经常遇到。只要写代码，就避免不了这种困扰。有时候前脚刚做好了，后脚再测试又会报错；或者昨天做好了，今天再重做，莫名其妙地就不正常了。呵呵，原因很多，可能是你的代码写得有问题，例如某个细节不符合语法要求，甚至不够严密；或者你的代码中有“粘贴”过来的成分，该成分本身可能存在问题……诸如此类，是挺让人烦的。不过，只要有成功的尝试，就应该坚定信心。大不了，从头编呗。</description>
		<content:encoded><![CDATA[<p>@jsyczhanghao</p>
<p>你这种情况很“正常”，我也经常遇到。只要写代码，就避免不了这种困扰。有时候前脚刚做好了，后脚再测试又会报错；或者昨天做好了，今天再重做，莫名其妙地就不正常了。呵呵，原因很多，可能是你的代码写得有问题，例如某个细节不符合语法要求，甚至不够严密；或者你的代码中有“粘贴”过来的成分，该成分本身可能存在问题……诸如此类，是挺让人烦的。不过，只要有成功的尝试，就应该坚定信心。大不了，从头编呗。</p>
]]></content:encoded>
	</item>
	<item>
		<title>jsyczhanghao</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2756</link>
		<dc:creator>jsyczhanghao</dc:creator>
		<pubDate>Fri, 30 Oct 2009 05:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2756</guid>
		<description>关于第4章的那个按钮往右移动的例子...我很清楚的记得..我做过3次....第一次做的时候也出现了5044行错误.....但是第2次做的却没有出现.....但是并没有用代码包里的代码测试..因为那个代码无论怎么测试都会出现5044行错误.....第2次做的时候效果一切正常..也可以移动..但是今天第3次做的时候又出现这个问题...而且我翻过之前我做的代码....那张页面也变成了不可移动5044的错误.....挺郁闷的....</description>
		<content:encoded><![CDATA[<p>关于第4章的那个按钮往右移动的例子&#8230;我很清楚的记得..我做过3次&#8230;.第一次做的时候也出现了5044行错误&#8230;..但是第2次做的却没有出现&#8230;..但是并没有用代码包里的代码测试..因为那个代码无论怎么测试都会出现5044行错误&#8230;..第2次做的时候效果一切正常..也可以移动..但是今天第3次做的时候又出现这个问题&#8230;而且我翻过之前我做的代码&#8230;.那张页面也变成了不可移动5044的错误&#8230;..挺郁闷的&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>admin</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2217</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 16 Dec 2008 06:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2217</guid>
		<description>@dymyz

关于版本升级的问题，请你参考上述Q2。在jQuery1.2版后，许多API都发生了变化。既然你使用的是新版本，就应该将示例中用到的旧版方法替换成新版中的等价特性。比如，1.2版删除了.lt().gt()方法及对XPath选择符的默认支持。另外，网上有同学翻译了jQuery1.2的API文档，你可以搜索一下，会有帮助。</description>
		<content:encoded><![CDATA[<p>@dymyz</p>
<p>关于版本升级的问题，请你参考上述Q2。在jQuery1.2版后，许多API都发生了变化。既然你使用的是新版本，就应该将示例中用到的旧版方法替换成新版中的等价特性。比如，1.2版删除了.lt().gt()方法及对XPath选择符的默认支持。另外，网上有同学翻译了jQuery1.2的API文档，你可以搜索一下，会有帮助。</p>
]]></content:encoded>
	</item>
	<item>
		<title>dymyz</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2216</link>
		<dc:creator>dymyz</dc:creator>
		<pubDate>Mon, 15 Dec 2008 15:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2216</guid>
		<description>你好，在第九章中图像传送带中，发现jq版本更换为jq1.2.6后无法正常，请给予解决办法，1.2.6版本无法使用unbind（）移除hover定义的函数。谢谢</description>
		<content:encoded><![CDATA[<p>你好，在第九章中图像传送带中，发现jq版本更换为jq1.2.6后无法正常，请给予解决办法，1.2.6版本无法使用unbind（）移除hover定义的函数。谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>dymyz</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2198</link>
		<dc:creator>dymyz</dc:creator>
		<pubDate>Thu, 02 Oct 2008 15:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2198</guid>
		<description>对于第八章，已经改了charset=gb2312如下所示，但是还是不行，请解答。


另外，对于第八章购物车代码中，美元符号$换成人民币￥符号，在firefox浏览器下不能正常显示，在ie6下正常。请解答。</description>
		<content:encoded><![CDATA[<p>对于第八章，已经改了charset=gb2312如下所示，但是还是不行，请解答。</p>
<p>另外，对于第八章购物车代码中，美元符号$换成人民币￥符号，在firefox浏览器下不能正常显示，在ie6下正常。请解答。</p>
]]></content:encoded>
	</item>
	<item>
		<title>admin</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2197</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 23 Sep 2008 08:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2197</guid>
		<description>@dymyz

请把charset=utf-8，修改为charset=gb2312，再试试！</description>
		<content:encoded><![CDATA[<p>@dymyz</p>
<p>请把charset=utf-8，修改为charset=gb2312，再试试！</p>
]]></content:encoded>
	</item>
	<item>
		<title>dymyz</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2196</link>
		<dc:creator>dymyz</dc:creator>
		<pubDate>Tue, 23 Sep 2008 04:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2196</guid>
		<description>第四章节的升级jquery后运行正常，请大家注意了，但第八章的还不正常</description>
		<content:encoded><![CDATA[<p>第四章节的升级jquery后运行正常，请大家注意了，但第八章的还不正常</p>
]]></content:encoded>
	</item>
	<item>
		<title>dymyz</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2195</link>
		<dc:creator>dymyz</dc:creator>
		<pubDate>Tue, 23 Sep 2008 04:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2195</guid>
		<description>我是您的读者，在运行随书的源代码时，发现第8章节验证表单输入是否有错误的提示文字中，假如将提示文字换成是中文，在firefox浏览器下不能正常运行，在ie6下正常。请解答。</description>
		<content:encoded><![CDATA[<p>我是您的读者，在运行随书的源代码时，发现第8章节验证表单输入是否有错误的提示文字中，假如将提示文字换成是中文，在firefox浏览器下不能正常运行，在ie6下正常。请解答。</p>
]]></content:encoded>
	</item>
	<item>
		<title>admin</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2182</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 14 Sep 2008 14:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2182</guid>
		<description>请dymyz参考本书在线示例（下载的代码也不排除有错误）：

http://book.learningjquery.com/2509_04_code/gettysburg.html</description>
		<content:encoded><![CDATA[<p>请dymyz参考本书在线示例（下载的代码也不排除有错误）：</p>
<p><a href="http://book.learningjquery.com/2509_04_code/gettysburg.html" rel="nofollow">http://book.learningjquery.com/2509_04_code/gettysburg.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>dymyz</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2178</link>
		<dc:creator>dymyz</dc:creator>
		<pubDate>Tue, 09 Sep 2008 04:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2178</guid>
		<description>我是您的读者，在运行随书的源代码时，发现第四章节的代码有问题，在firefox浏览器下正常运行，在ie6不能实现正常的效果，请解答。</description>
		<content:encoded><![CDATA[<p>我是您的读者，在运行随书的源代码时，发现第四章节的代码有问题，在firefox浏览器下正常运行，在ie6不能实现正常的效果，请解答。</p>
]]></content:encoded>
	</item>
	<item>
		<title>admin</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2177</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 04 Sep 2008 01:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2177</guid>
		<description>hcq989：
请到这里下载1.1版本
http://code.google.com/p/jqueryjs/downloads/list</description>
		<content:encoded><![CDATA[<p>hcq989：<br />
请到这里下载1.1版本<br />
<a href="http://code.google.com/p/jqueryjs/downloads/list" rel="nofollow">http://code.google.com/p/jqueryjs/downloads/list</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>hcq989</title>
		<link>http://www.cn-cuckoo.com/2008/08/21/learing-jquery-qa-256.html/comment-page-1#comment-2176</link>
		<dc:creator>hcq989</dc:creator>
		<pubDate>Wed, 03 Sep 2008 04:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.cn-cuckoo.com/2008/08/22/learing-jquery-qa-256.html#comment-2176</guid>
		<description>关于jQuery版本
您说的是jQuery版本要用1.1，下载下来的代码引用的../scripts/jquery.js,请问这个版本不是1.1的，还要到官方重新下？</description>
		<content:encoded><![CDATA[<p>关于jQuery版本<br />
您说的是jQuery版本要用1.1，下载下来的代码引用的../scripts/jquery.js,请问这个版本不是1.1的，还要到官方重新下？</p>
]]></content:encoded>
	</item>
</channel>
</rss>

