<?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>House of Metnetsky &#187; ie8</title>
	<atom:link href="http://cowarthill.com/blog/index.php/tag/ie8/feed/" rel="self" type="application/rss+xml" />
	<link>http://cowarthill.com/blog</link>
	<description>Run Tortoise Run</description>
	<lastBuildDate>Fri, 26 Feb 2010 17:15:33 +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>Array.length anybody?</title>
		<link>http://cowarthill.com/blog/index.php/2008/12/03/js-array-length/</link>
		<comments>http://cowarthill.com/blog/index.php/2008/12/03/js-array-length/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 23:12:44 +0000</pubDate>
		<dc:creator>MET</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>

		<guid isPermaLink="false">http://cowarthill.com/blog/?p=76</guid>
		<description><![CDATA[I came across a fun little issue today that I think should have been more obvious to me. Apparently, and I can&#8217;t believe I&#8217;m saying this: IE and Firefox parse Javascript differently. Take the following code: What should the length be? In Firefox 2 &#38; 3 the length is 2, but in IE7/IE8 the length [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a fun little issue today that I think should have been more obvious to me. Apparently, and I can&#8217;t believe I&#8217;m saying this: IE and Firefox parse Javascript differently. Take the following code:</p>
<pre class="brush: jscript; title: ; notranslate">
var foo = [
{'one': 1},
{'two': 2},
];
</pre>
<p>What should the length be? In Firefox 2 &amp; 3 the length is 2, but in IE7/IE8 the length is 3. I can&#8217;t confirm this, but considering I figured this out due to a *NEW* bug in one of our products, I think this is <strong>somewhat</strong> new in IE.</p>
<p>On a side note, it&#8217;s interesting that IE even parses the above considering the following code will break:</p>
<pre class="brush: jscript; title: ; notranslate">
var foo = {
'one': 1,
'two': 2,
}
</pre>
<p>The difference here is of course that <strong>foo</strong> in the second example is an <strong>object</strong>, whereas the first example it&#8217;s an <strong>array</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cowarthill.com/blog/index.php/2008/12/03/js-array-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7, IE8 Beta2&#8230; meet &lt;object/&gt;</title>
		<link>http://cowarthill.com/blog/index.php/2008/11/25/ie7-ie8-beta2-meet-object/</link>
		<comments>http://cowarthill.com/blog/index.php/2008/11/25/ie7-ie8-beta2-meet-object/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 01:26:57 +0000</pubDate>
		<dc:creator>MET</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://cowarthill.com/blog/?p=27</guid>
		<description><![CDATA[Why is it that IE7 and IE8 Beta 2 still can&#8217;t quit get the &#60;object/&#62; tag correct? When using Javascript to &#8220;dynamically&#8221; add object tags to the interface my experience, bad luck, and bouts of pain teach me that using the DOM API just doesn&#8217;t cut it. Well, to be fair the following functions don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Why is it that IE7 and IE8 Beta 2 still can&#8217;t quit get the &lt;object/&gt; tag correct? When using Javascript to &#8220;dynamically&#8221; add object tags to the interface my experience, bad luck, and bouts of pain teach me that using the DOM API just doesn&#8217;t cut it. Well, to be fair the following functions don&#8217;t cut it:</p>
<ul>
<li>document.createElement</li>
<li>document.createAttribute</li>
<li>[DOMElement].setAttribute(key, value)</li>
<li>[DOMElement].setAttributeNode([DOMAttribute])</li>
</ul>
<p>For any and all other &#8220;dynamic&#8221; HTML modifications the above functions work great! But if I use them to embed Flash or Silverlight movies it just tanks. Instead you have to construct ugly strings that represent the HTML you want and use [DOMElement].innerHTML. When you do this, suddenly the .swf/.xap loads and all is well.</p>
<p>Why oh why?</p>
<p>And for anyone who cares, following file does a decent job of HTML generation within Javascript&#8230; except for IE and the &lt;object/&gt; tag&#8230;. and input of type radio (WTF!).</p>
<p><a href="http://cowarthill.com/blog/wp-content/uploads/2008/11/html_obj.js">http://cowarthill.com/blog/wp-content/uploads/2008/11/html_obj.js</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cowarthill.com/blog/index.php/2008/11/25/ie7-ie8-beta2-meet-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

