<?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: Unobtrusive Input Clear on Focus</title>
	<atom:link href="http://mvied.com/javascript/unobtrusive-input-clear-focus/feed/" rel="self" type="application/rss+xml" />
	<link>http://mvied.com/javascript/unobtrusive-input-clear-focus/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Jan 2012 23:12:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Mike</title>
		<link>http://mvied.com/javascript/unobtrusive-input-clear-focus/comment-page-1/#comment-1978</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 13 Jun 2010 00:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://mvied.com/?p=116#comment-1978</guid>
		<description>@&lt;a href=&quot;http://mvied.com/javascript/unobtrusive-input-clear-focus/comment-page-1/#comment-1977&quot; rel=&quot;nofollow&quot;&gt;Vinnie&lt;/a&gt;: You could try this:
&lt;code&gt;
var textareas = document.getElementsByTagName(&#039;textarea&#039;);
var inputs = document.getElementsByTagName(&#039;input&#039;);
inputs = inputs.concat(textareas);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@<a href="http://mvied.com/javascript/unobtrusive-input-clear-focus/comment-page-1/#comment-1977" rel="nofollow">Vinnie</a>: You could try this:<br />
<code><br />
var textareas = document.getElementsByTagName('textarea');<br />
var inputs = document.getElementsByTagName('input');<br />
inputs = inputs.concat(textareas);<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinnie</title>
		<link>http://mvied.com/javascript/unobtrusive-input-clear-focus/comment-page-1/#comment-1977</link>
		<dc:creator>Vinnie</dc:creator>
		<pubDate>Sat, 12 Jun 2010 06:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://mvied.com/?p=116#comment-1977</guid>
		<description>Great buddy!
What change should I do so the script can work both with textfields and textareas?</description>
		<content:encoded><![CDATA[<p>Great buddy!<br />
What change should I do so the script can work both with textfields and textareas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://mvied.com/javascript/unobtrusive-input-clear-focus/comment-page-1/#comment-1930</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Tue, 27 Apr 2010 12:20:58 +0000</pubDate>
		<guid isPermaLink="false">http://mvied.com/?p=116#comment-1930</guid>
		<description>Perfect thanks!</description>
		<content:encoded><![CDATA[<p>Perfect thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

