<?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>Comments on: :selected Selector</title>
	<atom:link href="http://api.jquery.com/selected-selector/feed/" rel="self" type="application/rss+xml" />
	<link>http://api.jquery.com/selected-selector/</link>
	<description>jQuery API Reference</description>
	<lastBuildDate>Fri, 19 Aug 2011 09:06:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vaandu</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-8681</link>
		<dc:creator>Vaandu</dc:creator>
		<pubDate>Fri, 28 Jan 2011 19:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-8681</guid>
		<description>I use &quot;$(stateId).val(state);&quot; to set value for the State dropdown, I need to make the option selected. How to get the options from it and make it selected?</description>
		<content:encoded><![CDATA[<p>I use &#8220;$(stateId).val(state);&#8221; to set value for the State dropdown, I need to make the option selected. How to get the options from it and make it selected?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shakyshane</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-8579</link>
		<dc:creator>Shakyshane</dc:creator>
		<pubDate>Tue, 25 Jan 2011 01:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-8579</guid>
		<description>$(&quot;#ddlStates&quot;).find(&#039;:selected&#039;).text();&lt;br&gt;&lt;br&gt;This worked REALLY well...&lt;br&gt;&lt;br&gt;Also, if you have this type of option - &lt;option value=&quot;1&quot;&gt;My option&lt;/option&gt;&lt;br&gt;&lt;br&gt;and you want to return the &#039;1&#039; instead of the text, just use...&lt;br&gt;&lt;br&gt;$(&quot;#ddlStates&quot;).find(&#039;:selected&#039;).val();</description>
		<content:encoded><![CDATA[<p>$(&#8220;#ddlStates&#8221;).find(&#39;:selected&#39;).text();</p>
<p>This worked REALLY well&#8230;</p>
<p>Also, if you have this type of option &#8211; &lt;option value=&#8221;1&#8243;&gt;My option&lt;/option&gt;</p>
<p>and you want to return the &#39;1&#39; instead of the text, just use&#8230;</p>
<p>$(&#8220;#ddlStates&#8221;).find(&#39;:selected&#39;).val();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manas</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-8292</link>
		<dc:creator>Manas</dc:creator>
		<pubDate>Wed, 12 Jan 2011 19:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-8292</guid>
		<description>how to return selectedindexchanged is true or false of dropdownlist  using jquery</description>
		<content:encoded><![CDATA[<p>how to return selectedindexchanged is true or false of dropdownlist  using jquery</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahoge</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-7879</link>
		<dc:creator>ahoge</dc:creator>
		<pubDate>Wed, 08 Dec 2010 18:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-7879</guid>
		<description>He probably meant the select&#039;s itself, not the option&#039;s id. Does anybody know how to get it?</description>
		<content:encoded><![CDATA[<p>He probably meant the select&#39;s itself, not the option&#39;s id. Does anybody know how to get it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahoge</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-7435</link>
		<dc:creator>ahoge</dc:creator>
		<pubDate>Wed, 08 Dec 2010 10:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-7435</guid>
		<description>He probably meant the select&#039;s itself, not the option&#039;s id. Does anybody know how to get it?</description>
		<content:encoded><![CDATA[<p>He probably meant the select&#39;s itself, not the option&#39;s id. Does anybody know how to get it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: horizons</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-7216</link>
		<dc:creator>horizons</dc:creator>
		<pubDate>Thu, 25 Nov 2010 07:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-7216</guid>
		<description>$(&quot;option:selected&quot;,this).text();&lt;br&gt;should also work</description>
		<content:encoded><![CDATA[<p>$(&#8220;option:selected&#8221;,this).text();<br />should also work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-6968</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sat, 13 Nov 2010 14:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-6968</guid>
		<description>Use &lt;a href=&quot;http://this.id&quot; rel=&quot;nofollow&quot;&gt;this.id&lt;/a&gt;, not $(this).attr(&#039;id&#039;). This will be far, far quicker.</description>
		<content:encoded><![CDATA[<p>Use <a href="http://this.id" rel="nofollow">this.id</a>, not $(this).attr(&#39;id&#39;). This will be far, far quicker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juviloso</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-6751</link>
		<dc:creator>Juviloso</dc:creator>
		<pubDate>Mon, 01 Nov 2010 20:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-6751</guid>
		<description>to find the id:
&lt;br&gt;var id=$(this).attr(&#039;id&#039;);
&lt;br&gt;
&lt;br&gt;to find the texto for it selected option:
&lt;br&gt;var cat_txt=$(&#039;#&#039;+id+&#039; :selected&#039;).text();
&lt;br&gt;
&lt;br&gt;when i see your answer, then i find a solution for me :D</description>
		<content:encoded><![CDATA[<p>to find the id:<br />
<br />var id=$(this).attr(&#39;id&#39;);</p>
<p>to find the texto for it selected option:<br />
<br />var cat_txt=$(&#39;#&#39;+id+&#39; :selected&#39;).text();</p>
<p>when i see your answer, then i find a solution for me <img src='http://api.jquery.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jinwen_wang</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-6390</link>
		<dc:creator>Jinwen_wang</dc:creator>
		<pubDate>Fri, 15 Oct 2010 16:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-6390</guid>
		<description>It&#039;s not working in IE6. Is there a workaround? Thanks!</description>
		<content:encoded><![CDATA[<p>It&#39;s not working in IE6. Is there a workaround? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GFunk</title>
		<link>http://api.jquery.com/selected-selector/comment-page-1/#comment-6336</link>
		<dc:creator>GFunk</dc:creator>
		<pubDate>Wed, 13 Oct 2010 15:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=660#comment-6336</guid>
		<description>Use $(&quot;select[name=&#039;garden&#039;] option:selected&quot;) to select a option in your garden drop-down menu and $(&quot;select[name=&#039;house&#039;] option:selected&quot;)  to select a option in your house drop-down menu.  Hope that helps.</description>
		<content:encoded><![CDATA[<p>Use $(&#8220;select[name=&#39;garden&#39;] option:selected&#8221;) to select a option in your garden drop-down menu and $(&#8220;select[name=&#39;house&#39;] option:selected&#8221;)  to select a option in your house drop-down menu.  Hope that helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

