<?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: When not to use this.form.submit()</title>
	<atom:link href="http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/</link>
	<description>Rich Internet Application development</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:50:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wayne</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-116234</link>
		<dc:creator>Wayne</dc:creator>
		<pubDate>Mon, 17 May 2010 22:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-116234</guid>
		<description>Although not presently common practice, I have recently stumbled upon several apparently learned resources ( for instance, http://rickyrosario.com/blog/using-the-html-button-element-in-place-of-input-type-submit/ and http://cssglobe.com/post/7088/my-top-5-html-coding-preferences ) advising that BUTTON be used instead of INPUT for submission elements in forms. 

So, in deference to those &quot;in the know,&quot; I have decided to use BUTTON for all of my forms from now on. The thing is, I am not very good at JavaScript and want to know how to incorporate the snippet at http://www.mollerus.net/tom/blog/2008/01/preventing_multiple_page_requests_after_doubleclic.html into my BUTTON element. You see, I realize that while INPUT elements use self closing tags which contain the VALUE attribute, BUTTON elements, to the best of my knowledge, require separate opening and closing tags that enclose their value. With this in mind, how should I modify the snippet to prevent multiple form submissions? And if I decide to have multiple buttons in a form (unlikely), what about the IE6 bug alluded to in the first link?

Thanks and sorry for being somewhat off-topic.</description>
		<content:encoded><![CDATA[<p>Although not presently common practice, I have recently stumbled upon several apparently learned resources ( for instance, <a href="http://rickyrosario.com/blog/using-the-html-button-element-in-place-of-input-type-submit/" rel="nofollow">http://rickyrosario.com/blog/using-the-html-button-element-in-place-of-input-type-submit/</a> and <a href="http://cssglobe.com/post/7088/my-top-5-html-coding-preferences" rel="nofollow">http://cssglobe.com/post/7088/my-top-5-html-coding-preferences</a> ) advising that BUTTON be used instead of INPUT for submission elements in forms. </p>
<p>So, in deference to those &#8220;in the know,&#8221; I have decided to use BUTTON for all of my forms from now on. The thing is, I am not very good at JavaScript and want to know how to incorporate the snippet at <a href="http://www.mollerus.net/tom/blog/2008/01/preventing_multiple_page_requests_after_doubleclic.html" rel="nofollow">http://www.mollerus.net/tom/blog/2008/01/preventing_multiple_page_requests_after_doubleclic.html</a> into my BUTTON element. You see, I realize that while INPUT elements use self closing tags which contain the VALUE attribute, BUTTON elements, to the best of my knowledge, require separate opening and closing tags that enclose their value. With this in mind, how should I modify the snippet to prevent multiple form submissions? And if I decide to have multiple buttons in a form (unlikely), what about the IE6 bug alluded to in the first link?</p>
<p>Thanks and sorry for being somewhat off-topic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Constantin Barb</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-114932</link>
		<dc:creator>Constantin Barb</dc:creator>
		<pubDate>Fri, 02 Apr 2010 22:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-114932</guid>
		<description>A rule of almost any programming language:
&quot;Don&#039;t name your variables, methods, objects or functins like the reserved words, wich, in most cases, are exactly the specific functions names.
I have a simple solutions: I always put an &quot;_&quot; (underscore) in front of all my custom objects, and, in most programming languages, it&#039;s saving me from headhecks.
Like so, &quot;_submit&quot; is not an reserved word.

Cheers from Romania!</description>
		<content:encoded><![CDATA[<p>A rule of almost any programming language:<br />
&#8220;Don&#8217;t name your variables, methods, objects or functins like the reserved words, wich, in most cases, are exactly the specific functions names.<br />
I have a simple solutions: I always put an &#8220;_&#8221; (underscore) in front of all my custom objects, and, in most programming languages, it&#8217;s saving me from headhecks.<br />
Like so, &#8220;_submit&#8221; is not an reserved word.</p>
<p>Cheers from Romania!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tommy</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-112499</link>
		<dc:creator>Tommy</dc:creator>
		<pubDate>Thu, 21 Jan 2010 22:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-112499</guid>
		<description>Saved me countless hours checking here within the first 5 minutes of searching. Thanks a lot!!</description>
		<content:encoded><![CDATA[<p>Saved me countless hours checking here within the first 5 minutes of searching. Thanks a lot!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mertonium</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-108774</link>
		<dc:creator>Mertonium</dc:creator>
		<pubDate>Wed, 11 Nov 2009 10:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-108774</guid>
		<description>Thanks a million!</description>
		<content:encoded><![CDATA[<p>Thanks a million!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-106454</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 10 Sep 2009 18:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-106454</guid>
		<description>I second that the error does appear in Firefox, too. Thanks for the explanation, it did save me some troubleshooting

Alex</description>
		<content:encoded><![CDATA[<p>I second that the error does appear in Firefox, too. Thanks for the explanation, it did save me some troubleshooting</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-98455</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 16 Apr 2009 09:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-98455</guid>
		<description>Nice short to-the-point solution! :)

Thanks Michael!</description>
		<content:encoded><![CDATA[<p>Nice short to-the-point solution! <img src='http://www.chapter31.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks Michael!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: troy</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-89985</link>
		<dc:creator>troy</dc:creator>
		<pubDate>Wed, 21 Jan 2009 23:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-89985</guid>
		<description>Muchas gracias. This was driving me crazy...</description>
		<content:encoded><![CDATA[<p>Muchas gracias. This was driving me crazy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nigel</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-84485</link>
		<dc:creator>nigel</dc:creator>
		<pubDate>Wed, 10 Dec 2008 01:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-84485</guid>
		<description>Thanks, you saved me a good deal of headache.</description>
		<content:encoded><![CDATA[<p>Thanks, you saved me a good deal of headache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-82218</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Fri, 21 Nov 2008 09:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-82218</guid>
		<description>You Rock...
Thanks man..keep it up</description>
		<content:encoded><![CDATA[<p>You Rock&#8230;<br />
Thanks man..keep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pike</title>
		<link>http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/comment-page-1/#comment-67579</link>
		<dc:creator>pike</dc:creator>
		<pubDate>Thu, 21 Aug 2008 13:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2006/10/12/when-not-to-use-thisformsubmit/#comment-67579</guid>
		<description>doh :-) thanks, found this page quick enough.

i *did* have this error in firefox, btw</description>
		<content:encoded><![CDATA[<p>doh <img src='http://www.chapter31.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  thanks, found this page quick enough.</p>
<p>i *did* have this error in firefox, btw</p>
]]></content:encoded>
	</item>
</channel>
</rss>
