<?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: Quick Tip #2  &#8211; Bringing Back Search with jQuery</title>
	<atom:link href="http://www.csskarma.com/blog/qt2-bringing-search-back/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csskarma.com/blog/qt2-bringing-search-back/</link>
	<description>display your &#60;style&#62;</description>
	<lastBuildDate>Mon, 12 Jul 2010 04:09:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Tim</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-72647</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 07 Aug 2009 21:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-72647</guid>
		<description>Nice addition, thanks Chris</description>
		<content:encoded><![CDATA[<p>Nice addition, thanks Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Coyier</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-72633</link>
		<dc:creator>Chris Coyier</dc:creator>
		<pubDate>Fri, 07 Aug 2009 19:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-72633</guid>
		<description>One little mini tip would be to chain the events, so you don&#039;t have to run the selector again:

&lt;code&gt;
$(&quot;#search input&quot;)
.focus( function() {
if ($(this).val()==&quot;Search&quot;) {$(this).val(&quot;&quot;);}
})
.blur( function() {
if ($(this).val()==&quot;&quot;) {$(this).val(&quot;Search&quot;);}
});
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>One little mini tip would be to chain the events, so you don&#8217;t have to run the selector again:</p>
<p><code><br />
$("#search input")<br />
.focus( function() {<br />
if ($(this).val()=="Search") {$(this).val("");}<br />
})<br />
.blur( function() {<br />
if ($(this).val()=="") {$(this).val("Search");}<br />
});<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-68407</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 09 Jul 2009 14:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-68407</guid>
		<description>Thanks man, much appreciated</description>
		<content:encoded><![CDATA[<p>Thanks man, much appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pab</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-68271</link>
		<dc:creator>pab</dc:creator>
		<pubDate>Wed, 08 Jul 2009 23:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-68271</guid>
		<description>Nice one Tim, 

I love the re-design of the site.</description>
		<content:encoded><![CDATA[<p>Nice one Tim, </p>
<p>I love the re-design of the site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-66419</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-66419</guid>
		<description>Hey! that&#039;s cool, I didn&#039;t know how that was done. Thanks!</description>
		<content:encoded><![CDATA[<p>Hey! that&#8217;s cool, I didn&#8217;t know how that was done. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.csskarma.com/blog/qt2-bringing-search-back/comment-page-1/#comment-66385</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 29 Jun 2009 16:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.csskarma.com/blog/?p=546#comment-66385</guid>
		<description>Thanks for the tip! Will use it on my next project</description>
		<content:encoded><![CDATA[<p>Thanks for the tip! Will use it on my next project</p>
]]></content:encoded>
	</item>
</channel>
</rss>
