<?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: Mootools 1.2 cvLinkSelect class</title>
	<atom:link href="http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/feed" rel="self" type="application/rss+xml" />
	<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class</link>
	<description>Young Dutch Design is a new platform for young designers with frequently new added postings about productdesign, webdesign and other related subjects.</description>
	<lastBuildDate>Fri, 23 Mar 2012 02:05:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: 150 JavaScript Techniques</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-13256</link>
		<dc:creator>150 JavaScript Techniques</dc:creator>
		<pubDate>Tue, 18 Jan 2011 14:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-13256</guid>
		<description>[...] Mootools 1.2 cvLinkSelect Class This class links the select boxes to each other. When you change the first select element the [...]</description>
		<content:encoded><![CDATA[<p>[...] Mootools 1.2 cvLinkSelect Class This class links the select boxes to each other. When you change the first select element the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some fantastic Navigation menu Plugin &#171; Shamim Ahmed</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-5294</link>
		<dc:creator>Some fantastic Navigation menu Plugin &#171; Shamim Ahmed</dc:creator>
		<pubDate>Tue, 31 Aug 2010 08:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-5294</guid>
		<description>[...] Mootools 1.2 cvLinkSelect Class This class links the select boxes to each other. When you change the first select element the [...]</description>
		<content:encoded><![CDATA[<p>[...] Mootools 1.2 cvLinkSelect Class This class links the select boxes to each other. When you change the first select element the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crispijn</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-2491</link>
		<dc:creator>Crispijn</dc:creator>
		<pubDate>Sat, 05 Jun 2010 19:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-2491</guid>
		<description>Great one! I didn&#039;t thought about that! Thanks for sharing!

Crispijn</description>
		<content:encoded><![CDATA[<p>Great one! I didn&#8217;t thought about that! Thanks for sharing!</p>
<p>Crispijn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zope</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-2489</link>
		<dc:creator>zope</dc:creator>
		<pubDate>Sat, 05 Jun 2010 08:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-2489</guid>
		<description>Hi Crispijn,

I made the following changes:

I removed the overhead (value: and html:) from the PHP file.
I changed the &quot;array of Hashes&quot; to an &quot;array of Arrays&quot;

old:
 
 echo &#039;[
   {&quot;value&quot;:&quot;wheels&quot;,&quot;html&quot;:&quot;Wheels&quot;},
   {&quot;value&quot;:&quot;body&quot;,&quot;html&quot;:&quot;Body&quot;}
 ]&#039;;

new:

 echo &#039;[
   [&quot;wheels&quot;,&quot;Wheels&quot;],
   [&quot;body&quot;,&quot;&quot;Body&quot;]
 ]&#039;;

---------------

The crossponding changes in cvLinkSelect class is

old:

  var option = new Element(&#039;option&#039;,{&#039;value&#039;: o.value, &#039;html&#039;: o.html});

new:
  var option = new Element(&#039;option&#039;,{&#039;value&#039;: o[0], &#039;html&#039;: o[1]});


I also added this line as a header on the PHP file to get a JSON response instead of HTML response.

header(&#039;Content-Type: application/json; charset=utf-8&#039;);


Cheers!</description>
		<content:encoded><![CDATA[<p>Hi Crispijn,</p>
<p>I made the following changes:</p>
<p>I removed the overhead (value: and html:) from the PHP file.<br />
I changed the &#8220;array of Hashes&#8221; to an &#8220;array of Arrays&#8221;</p>
<p>old:</p>
<p> echo &#8216;[<br />
   {"value":"wheels","html":"Wheels"},<br />
   {"value":"body","html":"Body"}<br />
 ]&#8216;;</p>
<p>new:</p>
<p> echo &#8216;[<br />
   ["wheels","Wheels"],<br />
   ["body",""Body"]<br />
 ]&#8217;;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>The crossponding changes in cvLinkSelect class is</p>
<p>old:</p>
<p>  var option = new Element(&#8216;option&#8217;,{&#8216;value&#8217;: o.value, &#8216;html&#8217;: o.html});</p>
<p>new:<br />
  var option = new Element(&#8216;option&#8217;,{&#8216;value&#8217;: o[0], &#8216;html&#8217;: o[1]});</p>
<p>I also added this line as a header on the PHP file to get a JSON response instead of HTML response.</p>
<p>header(&#8216;Content-Type: application/json; charset=utf-8&#8242;);</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crispijn</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1821</link>
		<dc:creator>Crispijn</dc:creator>
		<pubDate>Sun, 11 Apr 2010 18:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1821</guid>
		<description>That could be faster indeed. I&#039;ll look to this feature this week.

Thanks for your suggestion!</description>
		<content:encoded><![CDATA[<p>That could be faster indeed. I&#8217;ll look to this feature this week.</p>
<p>Thanks for your suggestion!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zope</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1802</link>
		<dc:creator>zope</dc:creator>
		<pubDate>Fri, 09 Apr 2010 23:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1802</guid>
		<description>Hi Crispijn,

Selecting an empty-value on selectbox-1 is the same as
reseting the form by removing the dynamic DOM elements.
(That means all injected JSON arrays will be removed from all dynamic select-boxes )

Is it possible to simulate the same effect with a Reset-button ?</description>
		<content:encoded><![CDATA[<p>Hi Crispijn,</p>
<p>Selecting an empty-value on selectbox-1 is the same as<br />
reseting the form by removing the dynamic DOM elements.<br />
(That means all injected JSON arrays will be removed from all dynamic select-boxes )</p>
<p>Is it possible to simulate the same effect with a Reset-button ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crispijn</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1706</link>
		<dc:creator>Crispijn</dc:creator>
		<pubDate>Tue, 30 Mar 2010 14:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1706</guid>
		<description>I&#039;ve fixed the bug. I don&#039;t know how but I&#039;ve changed some things in the class and everything is working fine now. If you do have problems, please let me know. I&#039;ll look after it.

Also the class has been upgraded, it&#039;s faster than it used to be. If you want to know what I&#039;ve changed read my latest article about createDocumentFragment(), http://youngdutchdesign.com/speeding-up-mootools-with-createdocumentfragment.

Hope you&#039;ll enjoy it!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve fixed the bug. I don&#8217;t know how but I&#8217;ve changed some things in the class and everything is working fine now. If you do have problems, please let me know. I&#8217;ll look after it.</p>
<p>Also the class has been upgraded, it&#8217;s faster than it used to be. If you want to know what I&#8217;ve changed read my latest article about createDocumentFragment(), <a href="http://youngdutchdesign.com/speeding-up-mootools-with-createdocumentfragment" rel="nofollow">http://youngdutchdesign.com/speeding-up-mootools-with-createdocumentfragment</a>.</p>
<p>Hope you&#8217;ll enjoy it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ghazal</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1539</link>
		<dc:creator>ghazal</dc:creator>
		<pubDate>Mon, 22 Mar 2010 19:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1539</guid>
		<description>Well,
thank you for the explanation.
We will have to find a solution. I&#039;ll look into it and get back to you if I find it. Not obvious, though ...</description>
		<content:encoded><![CDATA[<p>Well,<br />
thank you for the explanation.<br />
We will have to find a solution. I&#8217;ll look into it and get back to you if I find it. Not obvious, though &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zope</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1537</link>
		<dc:creator>zope</dc:creator>
		<pubDate>Mon, 22 Mar 2010 18:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1537</guid>
		<description>@ghazal
The removal of &quot;Element&quot; makes it compatible with Moo-1.2.4 ....
but at the same time the script doesn&#039;t reset, if an empty value is selected.</description>
		<content:encoded><![CDATA[<p>@ghazal<br />
The removal of &#8220;Element&#8221; makes it compatible with Moo-1.2.4 &#8230;.<br />
but at the same time the script doesn&#8217;t reset, if an empty value is selected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zope</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class/comment-page-1#comment-1362</link>
		<dc:creator>zope</dc:creator>
		<pubDate>Fri, 12 Mar 2010 20:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1680#comment-1362</guid>
		<description>A lightweight tool. So small and so powerful.
Great package. 

thank you again</description>
		<content:encoded><![CDATA[<p>A lightweight tool. So small and so powerful.<br />
Great package. </p>
<p>thank you again</p>
]]></content:encoded>
	</item>
</channel>
</rss>
