<?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/"
	>

<channel>
	<title>CSSquirrel &#187; Browsers</title>
	<atom:link href="http://cssquirrel.com/tag/browsers/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssquirrel.com/blog</link>
	<description>opinions and news on web design</description>
	<lastBuildDate>Fri, 18 May 2012 16:26:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>jQuery, JSON and IE &#8211; Getting Incorrect Array Length</title>
		<link>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/</link>
		<comments>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 20:24:58 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=106</guid>
		<description><![CDATA[Has anyone had the following problem? When loading a JSON array (through something like $.getJSON), Internet Explorer will sometimes report the length of the array being one higher than other browsers, with the extra element in the array being blank. I don&#8217;t know if this is a problem in other libraries, but I suspect it [...]]]></description>
			<content:encoded><![CDATA[<p>Has anyone had the following problem? When loading a <a title="Link to JSON.org" href="http://www.json.org/" target="_self">JSON</a> array (through something like <a title="Link to jQuery documentation on jQuery.getJSON" href="http://docs.jquery.com/Ajax/jQuery.getJSON#urldatacallback" target="_blank">$.getJSON</a>), Internet Explorer will sometimes report the length of the array being one higher than other browsers, with the extra element in the array being blank.</p>
<p>I don&#8217;t know if this is a problem in other libraries, but I suspect it is. But I do know that it&#8217;s happened to me when using jQuery&#8217;s Ajax functions.</p>
<p>Why is this occurring?</p>
<p>I was tormenting myself with this same question on a client project, and discovered that although a bit of browser quirkiness was involved, it was actually an error on my part.</p>
<p>I hate it when it&#8217;s me. ;)</p>
<p><span id="more-106"></span></p>
<p>As it turns out, I had an extra trailing comma at the end of the last element in my array. For example, in the following array:</p>
<p><strong>{&#8220;gamesImDroolingFor&#8221;:[{"developer":"Blizzard","title:"Diablo III"},{"developer":"Square Enix","title":"Final Fantasy XIII"}<span style="color: #ff0000;">,</span>]}</strong></p>
<p>You&#8217;ll notice that there&#8217;s a comma after the last game&#8217;s bracket (which has been turned red for emphasis).</p>
<p>Firefox will ignore that comma, since clearly there&#8217;s no new object after it. Internet Explorer, the special child of the web, isn&#8217;t quite so bright, so it adds an extra, blank element to the array it creates.</p>
<p>Go IE.</p>
<p>The solution is easy, of course. Remove the unneeded comma.</p>
<p>I hope this helps prevent other developers from driving themselves batty trying to figure out what&#8217;s going wrong with their own arrays.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2008/10/14/jquery-json-and-ie-getting-incorrect-array-length/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google Chrome?</title>
		<link>http://cssquirrel.com/blog/2008/09/02/google-chrome/</link>
		<comments>http://cssquirrel.com/blog/2008/09/02/google-chrome/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:56:13 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=73</guid>
		<description><![CDATA[I&#8217;m not entirely surprised that Google decided to release its own browser. Considering their whole web-based business model it was probably inevetible. Although you have to wonder how it&#8217;ll affect their funding of Mozilla. What does surprise me is that I heard nary a peep before today&#8217;s beta. I feel like a back-country rube that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not entirely surprised that Google decided to release its own browser. Considering their whole web-based business model it was probably inevetible. Although you have to wonder how it&#8217;ll affect their funding of Mozilla.</p>
<p>What does surprise me is that I heard nary a peep before today&#8217;s beta. I feel like a back-country rube that just learned about horseless carriages.</p>
<p>Anyhow, here it is. I like that it&#8217;s open source (encourages other browser makers to see what good ideas they&#8217;ve created and theoretically incorporate them), but I admit that I&#8217;m curious how it&#8217;ll shake up the browser usage wars.</p>
<p>You can download it <a title="Link to Google Chrome" href="http://www.google.com/chrome" target="_blank">here</a>, and see their official post about it <a title="Official Google Blog post about Google Chrome" href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2008/09/02/google-chrome/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firefox Launch Day On Tuesday</title>
		<link>http://cssquirrel.com/blog/2008/06/16/firefox-launch-day-on-tuesday/</link>
		<comments>http://cssquirrel.com/blog/2008/06/16/firefox-launch-day-on-tuesday/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 16:11:21 +0000</pubDate>
		<dc:creator>Kyle Weems</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://www.cssquirrel.com/?p=35</guid>
		<description><![CDATA[When it comes to browsers, Firefox is my primary choice. It&#8217;s combination of strong standards support and large addons library makes it not only desirable, but indispensable in how I browse and work on the Net. I know I can do web development without Firebug, but I certainly don&#8217;t know why I&#8217;d want to. Although [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to browsers, Firefox is my primary choice. It&#8217;s combination of strong standards support and large addons library makes it not only desirable, but indispensable in how I browse and work on the Net. I know I can do web development without Firebug, but I certainly don&#8217;t know why I&#8217;d want to.</p>
<p>Although I&#8217;ve been running the beta (then later the release candidates) for some time now, I&#8217;m excited for the upcoming official release of Firefox 3 tomorrow. Although I hadn&#8217;t planned out a release party like Mozilla has encouraged as part of their <a title="Link to Download Day 2008" href="http://www.spreadfirefox.com/en-US/worldrecord" target="_blank">Download Day 2008</a> event, I&#8217;ll definitely be upgrading to the release version to help with their &#8220;most downloads in one day&#8221; goal.</p>
<p>In related news, while I&#8217;ve made it clear how much I dislike their tendancy to swing at IE without checking if their own zipper is up, I am also glad to see <a title="Link to Opera 9.5 product page" href="http://www.opera.com/products/desktop/" target="_blank">Opera 9.5</a> has been officially released, bringing with it a slick upgraded interface, more speed, and overall better standards support (but still no CSS3 rgba color support yet.) Between those two and Safari, a lot more CSS3 and other standards-related features are becoming available in 2008.</p>
<p>Now if only Microsoft would get off it&#8217;s lazy rear and announce a general target for when they plan to release IE8. Preferably this year&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cssquirrel.com/blog/2008/06/16/firefox-launch-day-on-tuesday/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

