<?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"
	>
<channel>
	<title>Comments on: JSON Selects</title>
	<atom:link href="http://muffinresearch.co.uk/archives/2006/07/19/json-selects/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/</link>
	<description>the personal blog of Stuart Colville covering modern web development techniques and best practices</description>
	<pubDate>Sat, 06 Sep 2008 01:38:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ismael</title>
		<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6873</link>
		<dc:creator>Ismael</dc:creator>
		<pubDate>Sun, 23 Jul 2006 21:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6873</guid>
		<description>Wow, that's kinda shocking! I guess I'll have to go through thousands of lines of code I've made :( (it works, though)</description>
		<content:encoded><![CDATA[<p>Wow, that&#8217;s kinda shocking! I guess I&#8217;ll have to go through thousands of lines of code I&#8217;ve made <img src='http://muffinresearch.co.uk/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> (it works, though)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Colville</title>
		<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6859</link>
		<dc:creator>Stuart Colville</dc:creator>
		<pubDate>Sun, 23 Jul 2006 12:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6859</guid>
		<description>@Ismael: Thanks for the comment. Re: the quotes: That's not the case, in valid JSON, property names are always quoted.</description>
		<content:encoded><![CDATA[<p>@Ismael: Thanks for the comment. Re: the quotes: That&#8217;s not the case, in valid JSON, property names are always quoted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ismael</title>
		<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6831</link>
		<dc:creator>Ismael</dc:creator>
		<pubDate>Sun, 23 Jul 2006 04:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6831</guid>
		<description>Nice!
But... Shouldn't this

&lt;code&gt;
keyboards:{
    "HRP":"Harpsichord",
    "HOR":"Hammond Organ",
    "FRO":"Fender Rhodes",
    "WEP":"Wurlitzer EP200"
  }
&lt;/code&gt;

be like this?

&lt;code&gt;
keyboards:{
    HRP:"Harpsichord",
    HOR:"Hammond Organ",
    FRO:"Fender Rhodes",
    WEP:"Wurlitzer EP200"
  }
&lt;/code&gt;


I mean, those are attribute names in an object, not keys in a hash, right?</description>
		<content:encoded><![CDATA[<p>Nice!<br />
But&#8230; Shouldn&#8217;t this</p>
<p><code><br />
keyboards:{<br />
    "HRP":"Harpsichord",<br />
    "HOR":"Hammond Organ",<br />
    "FRO":"Fender Rhodes",<br />
    "WEP":"Wurlitzer EP200"<br />
  }<br />
</code></p>
<p>be like this?</p>
<p><code><br />
keyboards:{<br />
    HRP:"Harpsichord",<br />
    HOR:"Hammond Organ",<br />
    FRO:"Fender Rhodes",<br />
    WEP:"Wurlitzer EP200"<br />
  }<br />
</code></p>
<p>I mean, those are attribute names in an object, not keys in a hash, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Colville</title>
		<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6637</link>
		<dc:creator>Stuart Colville</dc:creator>
		<pubDate>Wed, 19 Jul 2006 18:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6637</guid>
		<description>@Chris: You make some good points there and those are some viable alternatives. I am not so anal that I &lt;em&gt;must&lt;/em&gt; use the DOM for everything, and I can see that that setting the innerHTML to an empty string would be much more likely to be faster compared to my loop.</description>
		<content:encoded><![CDATA[<p>@Chris: You make some good points there and those are some viable alternatives. I am not so anal that I <em>must</em> use the DOM for everything, and I can see that that setting the innerHTML to an empty string would be much more likely to be faster compared to my loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Heilmann</title>
		<link>http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6627</link>
		<dc:creator>Chris Heilmann</dc:creator>
		<pubDate>Wed, 19 Jul 2006 13:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2006/07/19/json-selects/#comment-6627</guid>
		<description>The removeChildren() is a good generic function but could be quite expensive. You could also remove all options by setting the options.length property to 0, or by simply setting innerHTML to an empty string.
Sometimes the old school form stuff is much faster and straight forward. If I were a fetishist I'd do a benchmark, but the weather is too nice.</description>
		<content:encoded><![CDATA[<p>The removeChildren() is a good generic function but could be quite expensive. You could also remove all options by setting the options.length property to 0, or by simply setting innerHTML to an empty string.<br />
Sometimes the old school form stuff is much faster and straight forward. If I were a fetishist I&#8217;d do a benchmark, but the weather is too nice.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
