<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: These Chains of Selects</title>
	<atom:link href="http://geminstallthat.wordpress.com/2008/10/29/these-chains-of-selects/feed/" rel="self" type="application/rss+xml" />
	<link>http://geminstallthat.wordpress.com/2008/10/29/these-chains-of-selects/</link>
	<description>Ruby on Rails Geek Blog</description>
	<lastBuildDate>Thu, 17 Dec 2009 18:16:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick Treffiletti</title>
		<link>http://geminstallthat.wordpress.com/2008/10/29/these-chains-of-selects/#comment-144</link>
		<dc:creator>Nick Treffiletti</dc:creator>
		<pubDate>Thu, 04 Jun 2009 16:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=131#comment-144</guid>
		<description>So it looks like you need to change all of your examples to be a new instance of ChainedSelects instead of ChainedSelect and you also need to populate the &#039;active&#039; field in the function with an array to prevent getting &#039;this.active is undefined&#039;.  Keeping the form markup the same the js here works...

new ChainedSelects({&quot;Acura&quot;:{&quot;RL&quot;:1, &quot;TL&quot;:2},&quot;Volkswagen&quot;:{&quot;Beetle&quot;:3,&quot;Passat&quot;:4}},&#039;cars&#039;, [&quot;make&quot;,&quot;model&quot;], [&quot;make&quot;])</description>
		<content:encoded><![CDATA[<p>So it looks like you need to change all of your examples to be a new instance of ChainedSelects instead of ChainedSelect and you also need to populate the &#8216;active&#8217; field in the function with an array to prevent getting &#8216;this.active is undefined&#8217;.  Keeping the form markup the same the js here works&#8230;</p>
<p>new ChainedSelects({&#8220;Acura&#8221;:{&#8220;RL&#8221;:1, &#8220;TL&#8221;:2},&#8221;Volkswagen&#8221;:{&#8220;Beetle&#8221;:3,&#8221;Passat&#8221;:4}},&#8217;cars&#8217;, ["make","model"], ["make"])</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Treffiletti</title>
		<link>http://geminstallthat.wordpress.com/2008/10/29/these-chains-of-selects/#comment-143</link>
		<dc:creator>Nick Treffiletti</dc:creator>
		<pubDate>Thu, 04 Jun 2009 15:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=131#comment-143</guid>
		<description>loks like some of my code got cut off there, basically it was just the form in the example followed by what appears between the comments above in a body script tag</description>
		<content:encoded><![CDATA[<p>loks like some of my code got cut off there, basically it was just the form in the example followed by what appears between the comments above in a body script tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Treffiletti</title>
		<link>http://geminstallthat.wordpress.com/2008/10/29/these-chains-of-selects/#comment-142</link>
		<dc:creator>Nick Treffiletti</dc:creator>
		<pubDate>Thu, 04 Jun 2009 15:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://geminstallthat.wordpress.com/?p=131#comment-142</guid>
		<description>cool little plugin, Im getting an &#039;ChainedSelect is not defined&#039; in firebug when testing out your examples.  Once I change it to a &#039;new ChainedSelect&#039; im getting a new error of &#039;this.active is undefined&#039; 

my code is such:

      
        
        
      
      
      
      //chained select js
        new ChainedSelects({&quot;Acura&quot;:{&quot;RL&quot;:1, &quot;TL&quot;:2},&quot;Volkswagen&quot;:{&quot;Beetle&quot;:3,&quot;Passat&quot;:4}},&#039;cars&#039;, [[&quot;make&quot;, &quot;Car Make&quot;],&quot;model&quot;])
      // end
      </description>
		<content:encoded><![CDATA[<p>cool little plugin, Im getting an &#8216;ChainedSelect is not defined&#8217; in firebug when testing out your examples.  Once I change it to a &#8216;new ChainedSelect&#8217; im getting a new error of &#8216;this.active is undefined&#8217; </p>
<p>my code is such:</p>
<p>      //chained select js<br />
        new ChainedSelects({&#8220;Acura&#8221;:{&#8220;RL&#8221;:1, &#8220;TL&#8221;:2},&#8221;Volkswagen&#8221;:{&#8220;Beetle&#8221;:3,&#8221;Passat&#8221;:4}},&#8217;cars&#8217;, [["make", "Car Make"],&#8221;model&#8221;])<br />
      // end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
