<?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>Daniel Tillett &#187; javascript</title>
	<atom:link href="http://www.tillett.info/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tillett.info</link>
	<description>Just my blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:22:11 +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>IE 6 javascript onchange() problem</title>
		<link>http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/</link>
		<comments>http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 05:01:37 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[onchange]]></category>

		<guid isPermaLink="false">http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/</guid>
		<description><![CDATA[I really hate IE6, but as it is still so common it is important to support it. I recently ran into a problem with the javascript onchange function. I was using onchange to update a text box on the page when the check box was selected. I was using &#8220;&#8230;onchange(this.checked)&#8230;&#8221; This worked fine for everything [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I really hate IE6, but as it is still so common it is important to support it. I recently ran into a problem with the javascript onchange function. I was using onchange to update a text box on the page when the check box was selected. I was using &#8220;&#8230;onchange(this.checked)&#8230;&#8221; This worked fine for everything except IE6. It turns out that IE doesn&#8217;t fire the onchange state until the checkbox loses focus and so my update was not occurring.</p>
<p>The simple way around for this problem was to change onchange() to onclick(). The function now works in all browsers.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2008/02/06/work-around-for-ir-6-javascript-onchange-bug/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Best Javascript compressor to use</title>
		<link>http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/</link>
		<comments>http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 04:51:44 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/</guid>
		<description><![CDATA[I recently had a relatively large javascript (14KB) that I want to compress down. There are a lot of online JS compressors out there unfortunately not all of them actually work. After testing around a dozen of them I found the best two are JavaScript Utility and Javascript Compressor. JavaScript Utility was able to compress [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I recently had a relatively large javascript (14KB) that I want to compress down. There are a lot of online JS compressors out there unfortunately not all of them actually work. After testing around a dozen of them I found the best two are <a href="http://jsutility.pjoneil.net/">JavaScript Utility</a> and <a href="http://javascriptcompressor.com/">Javascript Compressor</a>. JavaScript Utility was able to compress down my code to 5.0KB while Javascript Compressor compressed down to 6.3KB.</p>
<p>While both are good I would recommend using Javascript Utility, not only because it achieved a better compression ratio, but it also has a large number of other JS utilities that are worth using (especially JSLint). The only problem I found is I was only able to get the UTF-8 encoding option to actually run.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/')" href="http://www.sphere.com/search?q=sphereit:http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.tillett.info/2007/12/18/best-javascript-compressor-to-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

