<?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: modifying the submit button when a form is submitted</title>
	<atom:link href="http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/</link>
	<description>Web Developer&#039;s Ramblings on JavaScript, jQuery, ColdFusion, MySQL, and other technologies.</description>
	<lastBuildDate>Wed, 04 Jan 2012 16:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: diego l</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-4029</link>
		<dc:creator>diego l</dc:creator>
		<pubDate>Thu, 09 Sep 2010 13:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-4029</guid>
		<description>thx for the example</description>
		<content:encoded><![CDATA[<p>thx for the example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Hynds</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-1424</link>
		<dc:creator>Eric Hynds</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-1424</guid>
		<description>@Charlie, correct, the &quot;this&quot; in the 2nd example gives the selector a context.  In this case it&#039;s the form. 

I agree, it&#039;s preferable to bind to the form&#039;s submit event rather than the submit button&#039;s click event.  Pressing enter to submit the form likely won&#039;t fire the click event :)

I pinged CFbloggers because a new post of mine never went through the aggregator, which for some reason caused ALL my posts to show up again!  whoops.</description>
		<content:encoded><![CDATA[<p>@Charlie, correct, the &#8220;this&#8221; in the 2nd example gives the selector a context.  In this case it&#8217;s the form. </p>
<p>I agree, it&#8217;s preferable to bind to the form&#8217;s submit event rather than the submit button&#8217;s click event.  Pressing enter to submit the form likely won&#8217;t fire the click event <img src='http://www.erichynds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I pinged CFbloggers because a new post of mine never went through the aggregator, which for some reason caused ALL my posts to show up again!  whoops.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-3839</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-3839</guid>
		<description>@Charlie, correct, the &quot;this&quot; in the 2nd example gives the selector a context.  In this case it&#039;s the form. 

I agree, it&#039;s preferable to bind to the form&#039;s submit event rather than the submit button&#039;s click event.  Pressing enter to submit the form likely won&#039;t fire the click event :)

I pinged CFbloggers because a new post of mine never went through the aggregator, which for some reason caused ALL my posts to show up again!  whoops.</description>
		<content:encoded><![CDATA[<p>@Charlie, correct, the &#8220;this&#8221; in the 2nd example gives the selector a context.  In this case it&#8217;s the form. </p>
<p>I agree, it&#8217;s preferable to bind to the form&#8217;s submit event rather than the submit button&#8217;s click event.  Pressing enter to submit the form likely won&#8217;t fire the click event <img src='http://www.erichynds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I pinged CFbloggers because a new post of mine never went through the aggregator, which for some reason caused ALL my posts to show up again!  whoops.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Griefer</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-1359</link>
		<dc:creator>Charlie Griefer</dc:creator>
		<pubDate>Wed, 11 Nov 2009 17:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-1359</guid>
		<description>Oh and weird... this is an old entry.  Just came thru the aggregator (again?) today :)</description>
		<content:encoded><![CDATA[<p>Oh and weird&#8230; this is an old entry.  Just came thru the aggregator (again?) today <img src='http://www.erichynds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Griefer</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-3838</link>
		<dc:creator>Charlie Griefer</dc:creator>
		<pubDate>Wed, 11 Nov 2009 17:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-3838</guid>
		<description>Oh and weird... this is an old entry.  Just came thru the aggregator (again?) today :)</description>
		<content:encoded><![CDATA[<p>Oh and weird&#8230; this is an old entry.  Just came thru the aggregator (again?) today <img src='http://www.erichynds.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Griefer</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-1358</link>
		<dc:creator>Charlie Griefer</dc:creator>
		<pubDate>Wed, 11 Nov 2009 16:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-1358</guid>
		<description>This sounds like behavior I&#039;d expect.

In &quot;Plain ol&#039; JS&quot;, I&#039;ve always thought it was preferable to call a validate method on a form&#039;s submit event rather than a submit button&#039;s click event.  I think one of the reasons is that there&#039;s the click event of the button, and then a distinct separate event whereby the submit button submits the form.

That seems to be supported by the results of your first example.  

I would have gone with example #2, but would have given the submit an ID and called it that way.  Until reading this, didn&#039;t realize you could reference a form&#039;s submit element via &#039;:submit&#039;.  Very cool.

What&#039;s the 2nd attribute (the &#039;this&#039;) in that selector?  I assume it restricts the selector to the submit button for the form element that triggered the event, but googling for confirmation has yet to provide worthwhile.</description>
		<content:encoded><![CDATA[<p>This sounds like behavior I&#8217;d expect.</p>
<p>In &#8220;Plain ol&#8217; JS&#8221;, I&#8217;ve always thought it was preferable to call a validate method on a form&#8217;s submit event rather than a submit button&#8217;s click event.  I think one of the reasons is that there&#8217;s the click event of the button, and then a distinct separate event whereby the submit button submits the form.</p>
<p>That seems to be supported by the results of your first example.  </p>
<p>I would have gone with example #2, but would have given the submit an ID and called it that way.  Until reading this, didn&#8217;t realize you could reference a form&#8217;s submit element via &#8216;:submit&#8217;.  Very cool.</p>
<p>What&#8217;s the 2nd attribute (the &#8216;this&#8217;) in that selector?  I assume it restricts the selector to the submit button for the form element that triggered the event, but googling for confirmation has yet to provide worthwhile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie Griefer</title>
		<link>http://www.erichynds.com/jquery/jquery-disabling-the-submit-button-when-a-form-is-submitted/#comment-3837</link>
		<dc:creator>Charlie Griefer</dc:creator>
		<pubDate>Wed, 11 Nov 2009 16:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.erichynds.com/blog/?p=12#comment-3837</guid>
		<description>This sounds like behavior I&#039;d expect.

In &quot;Plain ol&#039; JS&quot;, I&#039;ve always thought it was preferable to call a validate method on a form&#039;s submit event rather than a submit button&#039;s click event.  I think one of the reasons is that there&#039;s the click event of the button, and then a distinct separate event whereby the submit button submits the form.

That seems to be supported by the results of your first example.  

I would have gone with example #2, but would have given the submit an ID and called it that way.  Until reading this, didn&#039;t realize you could reference a form&#039;s submit element via &#039;:submit&#039;.  Very cool.

What&#039;s the 2nd attribute (the &#039;this&#039;) in that selector?  I assume it restricts the selector to the submit button for the form element that triggered the event, but googling for confirmation has yet to provide worthwhile.</description>
		<content:encoded><![CDATA[<p>This sounds like behavior I&#8217;d expect.</p>
<p>In &#8220;Plain ol&#8217; JS&#8221;, I&#8217;ve always thought it was preferable to call a validate method on a form&#8217;s submit event rather than a submit button&#8217;s click event.  I think one of the reasons is that there&#8217;s the click event of the button, and then a distinct separate event whereby the submit button submits the form.</p>
<p>That seems to be supported by the results of your first example.  </p>
<p>I would have gone with example #2, but would have given the submit an ID and called it that way.  Until reading this, didn&#8217;t realize you could reference a form&#8217;s submit element via &#8216;:submit&#8217;.  Very cool.</p>
<p>What&#8217;s the 2nd attribute (the &#8216;this&#8217;) in that selector?  I assume it restricts the selector to the submit button for the form element that triggered the event, but googling for confirmation has yet to provide worthwhile.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

