<?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>Kieran Senior &#187; jQuery</title>
	<atom:link href="http://www.kieransenior.co.uk/category/code/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kieransenior.co.uk</link>
	<description>An Ode To Software</description>
	<lastBuildDate>Fri, 13 Aug 2010 08:10:07 +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 :visible Bug</title>
		<link>http://www.kieransenior.co.uk/2010/01/04/jquery-visible-bug/</link>
		<comments>http://www.kieransenior.co.uk/2010/01/04/jquery-visible-bug/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 22:03:42 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.kieransenior.co.uk/?p=231</guid>
		<description><![CDATA[Pottering around with jQuery I spent a couple of hours trying to figure out why alternating row styles weren&#39;t working for hidden rows correctly.&#160; For the life of me I couldn&#39;t figure it out, I had done every test imaginable &#8230; <a href="http://www.kieransenior.co.uk/2010/01/04/jquery-visible-bug/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Pottering around with jQuery I spent a couple of hours trying to figure out why alternating row styles weren&#39;t working for hidden rows correctly.&nbsp; For the life of me I couldn&#39;t figure it out, I had done every test imaginable without any results.&nbsp; The selector $(&quot;tr:visible:even&quot;) didn&#39;t work correctly, certain rows were having the wrong class applied to them, despite working in a clean environment.&nbsp; When I face a problem for a number of hours I eventually think to myself &quot;why not try the inverse?&quot;, so I did just that.&nbsp; $(&quot;tr:not(:hidden):even&quot;) did exactly what I wanted.&nbsp; Strange you say? Indeed it is.&nbsp; I can&#39;t help but think the inverse of visible isn&#39;t equivalent to hidden.&nbsp; This may highlight the difference between display:none and visibility:none, I&#39;m not certain.</p>
<p>Anyway, the problem was overcome as mentioned in case you face this issue.&nbsp; This applies to 1.3 I believe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kieransenior.co.uk/2010/01/04/jquery-visible-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
