<?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>The Error Message &#187; jquery</title>
	<atom:link href="http://www.theerrormessage.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theerrormessage.com</link>
	<description>Fix your error</description>
	<lastBuildDate>Sun, 18 Jul 2010 03:21:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>jquery pngFix fixed</title>
		<link>http://www.theerrormessage.com/2009/03/jquery-pngfix-fixed/</link>
		<comments>http://www.theerrormessage.com/2009/03/jquery-pngfix-fixed/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 05:00:31 +0000</pubDate>
		<dc:creator>gbl</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.theerrormessage.com/2009/03/11/jquery-pngfix-fixed/</guid>
		<description><![CDATA[I tried to use the pngFix from this website: http://jquery.andreaseberhard.de/pngFix/. But it didn&#8217;t work and i received an javascript error in IE6. After several minutes of debugging and tries i found out that the error is generated by old syntax in selecting elements. It used jQuery(this).find("img[@src$=.png]").each(...); instead of jQuery(this).find("img[src$=.png]").each(...); So the fix is: Remove the [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to use the pngFix from this website: <a href="http://jquery.andreaseberhard.de/pngFix/" target="_blank">http://jquery.andreaseberhard.de/pngFix/</a>. But it didn&#8217;t work and i received an javascript error in IE6.</p>
<p>After several minutes of debugging and tries i found out that the error is generated by old syntax in selecting elements. It used <code class="javascript">jQuery(this).find("img[@src$=.png]").each(...);</code> instead of <code class="javascript">jQuery(this).find("img[src$=.png]").each(...);</code></p>
<p>So <strong>the fix</strong> is: <strong>Remove the &#8220;@&#8221; character form the selector string. </strong></p>
<p>The same thing for the &#8220;pack&#8221; version except that the replaced string is: <code class="javascript">[@m$=.M]</code> and the  replacement string is: <code class="javascript">[m$=.M]</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theerrormessage.com/2009/03/jquery-pngfix-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
