<?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: Clearing Form Data</title>
	<atom:link href="http://www.learningjquery.com/2007/08/clearing-form-data/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2007/08/clearing-form-data</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Sun, 14 Mar 2010 16:12:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 4g63</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-79723</link>
		<dc:creator>4g63</dc:creator>
		<pubDate>Thu, 18 Feb 2010 10:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-79723</guid>
		<description>another way to reset form with jquery - $(&#039;my-form&#039;).get(0).reset();</description>
		<content:encoded><![CDATA[<p>another way to reset form with jquery &#8211; $(&#8216;my-form&#8217;).get(0).reset();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-79717</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Tue, 16 Feb 2010 19:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-79717</guid>
		<description>Just a note: if you change the last line

&lt;code&gt; else if (tag == &#039;select&#039;) this.selectedIndex = -1; });&lt;/code&gt;
to
&lt;code&gt;  else if (tag == &#039;select&#039;) 	this.selectedIndex = 0; }); &lt;/code&gt;

it will reset your select boxes back to the &quot;--- select one ---&quot; heading that most of us use 

SUMMARY: SET the selected.Index value to Zero (0)</description>
		<content:encoded><![CDATA[<p>Just a note: if you change the last line</p>
<p><code> else if (tag == 'select') this.selectedIndex = -1; });</code><br />
to<br />
<code>  else if (tag == 'select') 	this.selectedIndex = 0; }); </code></p>
<p>it will reset your select boxes back to the &#8220;&#8212; select one &#8212;&#8221; heading that most of us use </p>
<p>SUMMARY: SET the selected.Index value to Zero (0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simply Seth</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-79315</link>
		<dc:creator>Simply Seth</dc:creator>
		<pubDate>Tue, 08 Dec 2009 19:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-79315</guid>
		<description>how do I reset the radio buttons to the default (which is &#039;GB&#039; )??

&lt;pre&gt;&lt;code&gt;
KB &lt;input type=&quot;radio&quot; name=&quot;curr_unit&quot; value=&quot;KB&quot; /&gt;
MB &lt;input type=&quot;radio&quot; name=&quot;curr_unit&quot; value=&quot;MB&quot; /&gt;
GB &lt;input type=&quot;radio&quot; name=&quot;curr_unit&quot; value=&quot;GB&quot; checked/&gt;
TB &lt;input type=&quot;radio&quot; name=&quot;curr_unit&quot; value=&quot;TB&quot; /&gt;
&lt;/code&gt; &lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>how do I reset the radio buttons to the default (which is &#8216;GB&#8217; )??</p>
<pre><code>
KB &lt;input type="radio" name="curr_unit" value="KB" /&gt;
MB &lt;input type="radio" name="curr_unit" value="MB" /&gt;
GB &lt;input type="radio" name="curr_unit" value="GB" checked/&gt;
TB &lt;input type="radio" name="curr_unit" value="TB" /&gt;
</code> </pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Adams</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-79309</link>
		<dc:creator>Jeff Adams</dc:creator>
		<pubDate>Mon, 07 Dec 2009 17:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-79309</guid>
		<description>I&#039;m having the same problem as comment #11. After a reset ( input type=&quot;reset&quot; ) if I then try to read the values from the select fields in IE I get nothing. Anybody else see this problem?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problem as comment #11. After a reset ( input type=&#8221;reset&#8221; ) if I then try to read the values from the select fields in IE I get nothing. Anybody else see this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rustan Capal</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-79151</link>
		<dc:creator>Rustan Capal</dc:creator>
		<pubDate>Fri, 06 Nov 2009 04:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-79151</guid>
		<description>....yeah it works...and saves a lot line of codes!</description>
		<content:encoded><![CDATA[<p>&#8230;.yeah it works&#8230;and saves a lot line of codes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-77861</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 14 Jul 2009 16:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-77861</guid>
		<description>this tutorial is so Cool , Help Me A Lot , Thanks</description>
		<content:encoded><![CDATA[<p>this tutorial is so Cool , Help Me A Lot , Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: All my bookmarks ever &#124; Daniel John Gayle</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-74624</link>
		<dc:creator>All my bookmarks ever &#124; Daniel John Gayle</dc:creator>
		<pubDate>Sat, 30 May 2009 00:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-74624</guid>
		<description>[...] Clearing Form Data » Learning jQuery - Tips, Techniques, Tutorials [...]</description>
		<content:encoded><![CDATA[<p>[...] Clearing Form Data » Learning jQuery &#8211; Tips, Techniques, Tutorials [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clearing Form Data &#8211; Read Bits</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-74003</link>
		<dc:creator>Clearing Form Data &#8211; Read Bits</dc:creator>
		<pubDate>Mon, 25 May 2009 15:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-74003</guid>
		<description>[...] has already been sumbitted and the form is returned to the browser, I based the solution on the Clearing Form Data post at the&#160; Learning jQuery site. This prevents another trip to the server to reset the [...]</description>
		<content:encoded><![CDATA[<p>[...] has already been sumbitted and the form is returned to the browser, I based the solution on the Clearing Form Data post at the&#160; Learning jQuery site. This prevents another trip to the server to reset the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Move! move! move! &#187; ajax관련링크</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-73068</link>
		<dc:creator>Move! move! move! &#187; ajax관련링크</dc:creator>
		<pubDate>Sun, 17 May 2009 15:46:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-73068</guid>
		<description>[...] http://www.learningjquery.com/2007/08/c ··· orm-data [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.learningjquery.com/2007/08/c" rel="nofollow">http://www.learningjquery.com/2007/08/c</a> ··· orm-data [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dallas</title>
		<link>http://www.learningjquery.com/2007/08/clearing-form-data/comment-page-1#comment-72778</link>
		<dc:creator>Dallas</dc:creator>
		<pubDate>Mon, 06 Apr 2009 17:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/2007/08/clearing-form-data#comment-72778</guid>
		<description>Thanks.. new to Jquery-- nice intro and eye openner.</description>
		<content:encoded><![CDATA[<p>Thanks.. new to Jquery&#8211; nice intro and eye openner.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
