<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>JMSoftware &#187; jquery</title>
	<atom:link href="http://www.jmsoftware.co.uk/blog/category/programming/jquery-programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jmsoftware.co.uk</link>
	<description>Software Development</description>
	<lastBuildDate>Mon, 26 Sep 2011 13:38:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
		<item>
		<title>Number of Selected Items in a Multiple Select Box with jQuery</title>
		<link>http://www.jmsoftware.co.uk/blog/number-of-selected-items-in-a-multiple-select-box-with-jquery</link>
		<comments>http://www.jmsoftware.co.uk/blog/number-of-selected-items-in-a-multiple-select-box-with-jquery#comments</comments>
		<pubDate>Sat, 25 Oct 2008 11:05:05 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[multiple select box]]></category>

		<guid isPermaLink="false">http://www.jmsoftware.co.uk/?p=21</guid>
		<description><![CDATA[With the html: &#60;select name="my_list" multiple="multiple"&#62; &#60;option value="one"&#62;1&#60;/option&#62; &#60;option value="two"&#62;2&#60;/option&#62; &#60;option value="three"&#62;3&#60;/option&#62; &#60;option value="four"&#62;4&#60;/option&#62; &#60;option value="five"&#62;5&#60;/option&#62; &#60;/select&#62; One way to find the number of options selected: $("select[name='my_list']&#62;option:selected").length]]></description>
			<content:encoded><![CDATA[<p>With the html:</p>
<pre><code>&lt;select name="my_list" multiple="multiple"&gt;
    &lt;option value="one"&gt;1&lt;/option&gt;
    &lt;option value="two"&gt;2&lt;/option&gt;
    &lt;option value="three"&gt;3&lt;/option&gt;
    &lt;option value="four"&gt;4&lt;/option&gt;
    &lt;option value="five"&gt;5&lt;/option&gt;
&lt;/select&gt;</code></pre>
<p>One way to find the number of options selected:<br />
<code>$("select[name='my_list']&gt;option:selected").length</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jmsoftware.co.uk/blog/number-of-selected-items-in-a-multiple-select-box-with-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>

