<?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: jquery.fieldtag.js &#8211; watermarks for inputfields</title>
	<atom:link href="http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/feed/" rel="self" type="application/rss+xml" />
	<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/</link>
	<description>mental farts of a web developer</description>
	<lastBuildDate>Thu, 18 Feb 2010 23:24:46 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: matt kauffman</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-568</link>
		<dc:creator>matt kauffman</dc:creator>
		<pubDate>Thu, 18 Feb 2010 23:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-568</guid>
		<description>If anyone runs into an issue where in some browsers hitting refresh or the back button causes the plugin not to work (because the browser is pre-populating the fields with the watermarked value) you can fix it by changing the keyup event to this:

			.keyup(function(){
				this.changed = ($(this).val() &amp;&amp; $(this).val() !== $(this).attr(&#039;title&#039;) ? true : false);
			}) 

Otherwise works like a charm!</description>
		<content:encoded><![CDATA[<p>If anyone runs into an issue where in some browsers hitting refresh or the back button causes the plugin not to work (because the browser is pre-populating the fields with the watermarked value) you can fix it by changing the keyup event to this:</p>
<p>			.keyup(function(){<br />
				this.changed = ($(this).val() &amp;&amp; $(this).val() !== $(this).attr(&#8217;title&#8217;) ? true : false);<br />
			}) </p>
<p>Otherwise works like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarah</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-546</link>
		<dc:creator>sarah</dc:creator>
		<pubDate>Wed, 03 Feb 2010 06:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-546</guid>
		<description>this is the first watermark code i found that actually WORKED!!!
thanks so much for sharing, what a champ!</description>
		<content:encoded><![CDATA[<p>this is the first watermark code i found that actually WORKED!!!<br />
thanks so much for sharing, what a champ!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ngi644の日記 &#187; Blog Archive &#187; Ploneのテキストフィールドのデフォルト文字</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-534</link>
		<dc:creator>ngi644の日記 &#187; Blog Archive &#187; Ploneのテキストフィールドのデフォルト文字</dc:creator>
		<pubDate>Wed, 27 Jan 2010 07:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-534</guid>
		<description>[...] Ploneのテキストフィールドのデフォルト文字 1月 27, 2010 3:59 pm ngi644 Zope/Plone  テキストフィールド欄にデフォルト文字を表示させたいとき、一般的には、jquery.fieldtab.jsを使う。 [...]</description>
		<content:encoded><![CDATA[<p>[...] Ploneのテキストフィールドのデフォルト文字 1月 27, 2010 3:59 pm ngi644 Zope/Plone  テキストフィールド欄にデフォルト文字を表示させたいとき、一般的には、jquery.fieldtab.jsを使う。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onur</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-507</link>
		<dc:creator>onur</dc:creator>
		<pubDate>Wed, 13 Jan 2010 20:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-507</guid>
		<description>i like this script</description>
		<content:encoded><![CDATA[<p>i like this script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-502</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 11 Jan 2010 16:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-502</guid>
		<description>Using this plug-in with the jQuery datepicker and I ended up adding a hook for the Change event to get everything to work properly.

Thanks for the good work!</description>
		<content:encoded><![CDATA[<p>Using this plug-in with the jQuery datepicker and I ended up adding a hook for the Change event to get everything to work properly.</p>
<p>Thanks for the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arken</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-489</link>
		<dc:creator>arken</dc:creator>
		<pubDate>Mon, 04 Jan 2010 09:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-489</guid>
		<description>It shows different output in IE6 &amp; IE7 on combination of text and image demo.</description>
		<content:encoded><![CDATA[<p>It shows different output in IE6 &amp; IE7 on combination of text and image demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coldfusion Developer</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-356</link>
		<dc:creator>Coldfusion Developer</dc:creator>
		<pubDate>Mon, 09 Nov 2009 18:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-356</guid>
		<description>Thanks for a great script - much better than others I&#039;ve tried as they always send the watermark text as the form value when posting.

However, I&#039;m also using the jQuery validate plugin which highlights any missing fields. It works well with yours as the title values ARE cleared before the submit.. Yet, if the form fails validation all I end up with is the blank boxes and no watermarked text in the invalid fields.

Is there a call I can make to re-test and re-populate the text boxes with the watermarked values?

Hope that makes sense...

Martin</description>
		<content:encoded><![CDATA[<p>Thanks for a great script &#8211; much better than others I&#8217;ve tried as they always send the watermark text as the form value when posting.</p>
<p>However, I&#8217;m also using the jQuery validate plugin which highlights any missing fields. It works well with yours as the title values ARE cleared before the submit.. Yet, if the form fails validation all I end up with is the blank boxes and no watermarked text in the invalid fields.</p>
<p>Is there a call I can make to re-test and re-populate the text boxes with the watermarked values?</p>
<p>Hope that makes sense&#8230;</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-344</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Mon, 02 Nov 2009 19:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-344</guid>
		<description>Hi mat, 

Thank you so much for this wonderful script. It works great. cheers!!</description>
		<content:encoded><![CDATA[<p>Hi mat, </p>
<p>Thank you so much for this wonderful script. It works great. cheers!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mat</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-203</link>
		<dc:creator>mat</dc:creator>
		<pubDate>Sun, 20 Sep 2009 19:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-203</guid>
		<description>@brian
You do not have to clear them manually. On submit, default values will be cleared automatically.</description>
		<content:encoded><![CDATA[<p>@brian<br />
You do not have to clear them manually. On submit, default values will be cleared automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://ajaxcssblog.com/jquery/fieldtag-watermark-inputfields/comment-page-1/#comment-201</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sun, 20 Sep 2009 09:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxcssblog.com/?p=58#comment-201</guid>
		<description>How do I clear the field tag values before I submit the form?</description>
		<content:encoded><![CDATA[<p>How do I clear the field tag values before I submit the form?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
