<?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 Selectors 筆記」的迴響</title>
	<atom:link href="http://blog.shian.tw/jquery-selectors.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.shian.tw/jquery-selectors.html</link>
	<description>學習筆記 For php、jQuery、MySql、Centos、Suse、Server、CodeIgniter</description>
	<lastBuildDate>Tue, 24 Jan 2012 13:37:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>由：shian</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4491</link>
		<dc:creator>shian</dc:creator>
		<pubDate>Fri, 17 Jun 2011 01:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4491</guid>
		<description>不客氣 ^^</description>
		<content:encoded><![CDATA[<p>不客氣 ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：feehong</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4490</link>
		<dc:creator>feehong</dc:creator>
		<pubDate>Fri, 17 Jun 2011 01:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4490</guid>
		<description>您好:

謝謝您的文章,我終於了解了;

^^</description>
		<content:encoded><![CDATA[<p>您好:</p>
<p>謝謝您的文章,我終於了解了;</p>
<p>^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：shian</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4489</link>
		<dc:creator>shian</dc:creator>
		<pubDate>Fri, 17 Jun 2011 01:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4489</guid>
		<description>你好~

建議你看看下面這blog 文章

&lt;a href=&quot;http://www.jaceju.net/blog/archives/993&quot; rel=&quot;nofollow&quot;&gt;[JavaScript] 存取物件屬性的方式&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>你好~</p>
<p>建議你看看下面這blog 文章</p>
<p><a href="http://www.jaceju.net/blog/archives/993" rel="nofollow">[JavaScript] 存取物件屬性的方式</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>由：feehong</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4483</link>
		<dc:creator>feehong</dc:creator>
		<pubDate>Thu, 16 Jun 2011 16:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4483</guid>
		<description>您好:
謝謝您的說明,但是我有2個地方不了解,
1.為什麼屬性名稱是使用[]包起來呢??
2.[]與選擇器之間,&quot;.&quot;為什麼不用加呢??</description>
		<content:encoded><![CDATA[<p>您好:<br />
謝謝您的說明,但是我有2個地方不了解,<br />
1.為什麼屬性名稱是使用[]包起來呢??<br />
2.[]與選擇器之間,"."為什麼不用加呢??</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：shian</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4480</link>
		<dc:creator>shian</dc:creator>
		<pubDate>Thu, 16 Jun 2011 10:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4480</guid>
		<description>你好~

關於你的問題 我以下面的例子來解說, 如果說錯歡迎指正 ^^

例子
$(&#039;body&#039;)[(1==1)?&quot;hide&quot;:&quot;show&quot;]();

[] &lt;= 是指 $(&#039;body&#039;)這物件裡面的屬性
[(1==1)?&quot;hide&quot;:&quot;show&quot;] &lt;= 利用 三元運算子 去判斷要使用哪個屬性名稱
[]() &lt;= 就好像 hide() or show() 這種呼叫 hide function or show function

所以 $(&#039;body&#039;)[(1==1)?&quot;hide&quot;:&quot;show&quot;]() 會等於 $(&#039;body&#039;).hide(); 或是 $(&#039;body&#039;).show(); 就看你的判斷句來決定</description>
		<content:encoded><![CDATA[<p>你好~</p>
<p>關於你的問題 我以下面的例子來解說, 如果說錯歡迎指正 ^^</p>
<p>例子<br />
$(&#8216;body&#8217;)[(1==1)?"hide":"show"]();</p>
<p>[] &lt;= 是指 $(&#039;body&#039;)這物件裡面的屬性<br />
[(1==1)?&quot;hide&quot;:&quot;show&quot;] &lt;= 利用 三元運算子 去判斷要使用哪個屬性名稱<br />
[]() &lt;= 就好像 hide() or show() 這種呼叫 hide function or show function</p>
<p>所以 $(&#039;body&#039;)[(1==1)?&quot;hide&quot;:&quot;show&quot;]() 會等於 $(&#039;body&#039;).hide(); 或是 $(&#039;body&#039;).show(); 就看你的判斷句來決定</p>
]]></content:encoded>
	</item>
	<item>
		<title>由：feehong</title>
		<link>http://blog.shian.tw/jquery-selectors.html/comment-page-1#comment-4479</link>
		<dc:creator>feehong</dc:creator>
		<pubDate>Thu, 16 Jun 2011 09:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.shian.tw/?p=37#comment-4479</guid>
		<description>您好:
我有一段程式碼,測試後可以運作,但是我不知道為什麼可以運作:
onChange=&#039;$(&quot;#specal_day&quot;)[(this.value==&quot;specal&quot;)?&quot;show&quot;:&quot;hide&quot;]();&#039;

應該是說為什麼選擇器後可以直接使用[]();
[]()所代表的意義是什麼呢??

如果有打擾之處,請見諒;</description>
		<content:encoded><![CDATA[<p>您好:<br />
我有一段程式碼,測試後可以運作,但是我不知道為什麼可以運作:<br />
onChange=&#8217;$("#specal_day")[(this.value=="specal")?"show":"hide"]();&#8217;</p>
<p>應該是說為什麼選擇器後可以直接使用[]();<br />
[]()所代表的意義是什麼呢??</p>
<p>如果有打擾之處,請見諒;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

