<?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: script language attribute / JavaScript version</title>
	<atom:link href="http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/feed/" rel="self" type="application/rss+xml" />
	<link>http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/</link>
	<description>bursts of ideas and rants by the alterego</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:40:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Marko Mrdjenovic</title>
		<link>http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/comment-page-1/#comment-32645</link>
		<dc:creator>Marko Mrdjenovic</dc:creator>
		<pubDate>Thu, 26 Jul 2007 10:29:47 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/#comment-32645</guid>
		<description>The idea of testing for methods is good when you&#039;re sure what your baseline is. The problem is that with mobile devices you&#039;re never sure what the baseline is.

A very nice example is Blackberry (7290 I think) that supports JavaScript but you can&#039;t really know what version/metods - some scripts just don&#039;t work. And I don&#039;t really wish to check for everything I need in a script...</description>
		<content:encoded><![CDATA[<p>The idea of testing for methods is good when you&#8217;re sure what your baseline is. The problem is that with mobile devices you&#8217;re never sure what the baseline is.</p>
<p>A very nice example is Blackberry (7290 I think) that supports JavaScript but you can&#8217;t really know what version/metods &#8211; some scripts just don&#8217;t work. And I don&#8217;t really wish to check for everything I need in a script&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjsn Eising</title>
		<link>http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/comment-page-1/#comment-32520</link>
		<dc:creator>Arjsn Eising</dc:creator>
		<pubDate>Wed, 25 Jul 2007 09:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/#comment-32520</guid>
		<description>Why testing on JavaScript &lt;em&gt;version&lt;/em&gt;? It is better to test if a method or object is present, and then use it.</description>
		<content:encoded><![CDATA[<p>Why testing on JavaScript <em>version</em>? It is better to test if a method or object is present, and then use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/comment-page-1/#comment-32478</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Tue, 24 Jul 2007 22:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://friedcellcollective.net/outbreak/2007/07/24/script-language-attribute-javascript-version/#comment-32478</guid>
		<description>yeah, this was a nice idea at the time, but since MSIE&#039;s &quot;version&quot; of IE differed greatly from the *real* version of JavaScript, this attribute was useless.

You&#039;re better off, to do some very minor browser sniffing, then cater your code where req&#039;d to a particular browser.

e.g. if you are trying to set the style attribute via DOM methods... add logic that if the browser is IE, to set the &#039;cssText&#039; attribute instead (since IE doesn&#039;t follow the spec here)</description>
		<content:encoded><![CDATA[<p>yeah, this was a nice idea at the time, but since MSIE&#8217;s &#8220;version&#8221; of IE differed greatly from the *real* version of JavaScript, this attribute was useless.</p>
<p>You&#8217;re better off, to do some very minor browser sniffing, then cater your code where req&#8217;d to a particular browser.</p>
<p>e.g. if you are trying to set the style attribute via DOM methods&#8230; add logic that if the browser is IE, to set the &#8216;cssText&#8217; attribute instead (since IE doesn&#8217;t follow the spec here)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

