<?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: Default html button submit on enter with JQuery</title> <atom:link href="http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/feed/" rel="self" type="application/rss+xml" /><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/</link> <description>Self-proclaimed greatness is a hard thing to prove.</description> <lastBuildDate>Tue, 15 May 2012 21:39:02 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Gu</title><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/#comment-1836</link> <dc:creator>Gu</dc:creator> <pubDate>Thu, 22 Mar 2012 08:29:54 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=47#comment-1836</guid> <description>GOOD!</description> <content:encoded><![CDATA[<p>GOOD!</p> ]]></content:encoded> </item> <item><title>By: z666zz666z</title><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/#comment-1751</link> <dc:creator>z666zz666z</dc:creator> <pubDate>Fri, 25 Nov 2011 10:07:54 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=47#comment-1751</guid> <description>Is there a way to get that without JavaScript? i mean having JavaScript disabled.
Also not using CSS trick position:fixed, user can navigate not using author css.
Thanks</description> <content:encoded><![CDATA[<p>Is there a way to get that without JavaScript? i mean having JavaScript disabled.</p><p>Also not using CSS trick position:fixed, user can navigate not using author css.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Camil</title><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/#comment-1732</link> <dc:creator>Camil</dc:creator> <pubDate>Thu, 27 Oct 2011 08:22:10 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=47#comment-1732</guid> <description>@Matt Scilipoti: the generated JavaScript seemed to stumble upon an error at &quot;firstSubmit&quot;. I changed the following to fix it for me:
This:
({
firstSubmit: $(this).closest(&#039;form&#039;).find(selector)
});
To this:
firstSubmit = $(this).closest(&#039;form&#039;).find(selector);
It worked for me after the change. I don&#039;t know enough JavaScript, jQuery or CoffeeScript to say exactly why, but I guess it has to do with the &quot;object literal&quot; feature of JavaScript. The initial &quot;firstSubmit&quot; was created as a *property* inside an anonymous object, so it wasn&#039;t available as a variable name when &quot;if (firstSubmit)&quot; asked for it.
Thanks for the code!</description> <content:encoded><![CDATA[<p>@Matt Scilipoti: the generated JavaScript seemed to stumble upon an error at &#8220;firstSubmit&#8221;. I changed the following to fix it for me:</p><p>This:<br
/> ({<br
/> firstSubmit: $(this).closest(&#8216;form&#8217;).find(selector)<br
/> });</p><p>To this:<br
/> firstSubmit = $(this).closest(&#8216;form&#8217;).find(selector);</p><p>It worked for me after the change. I don&#8217;t know enough JavaScript, jQuery or CoffeeScript to say exactly why, but I guess it has to do with the &#8220;object literal&#8221; feature of JavaScript. The initial &#8220;firstSubmit&#8221; was created as a *property* inside an anonymous object, so it wasn&#8217;t available as a variable name when &#8220;if (firstSubmit)&#8221; asked for it.</p><p>Thanks for the code!</p> ]]></content:encoded> </item> <item><title>By: TOPWEBVIET.COM</title><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/#comment-1691</link> <dc:creator>TOPWEBVIET.COM</dc:creator> <pubDate>Sat, 10 Sep 2011 04:27:27 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=47#comment-1691</guid> <description>Thanks for share. I&#039;m ready use it for my code. :P</description> <content:encoded><![CDATA[<p>Thanks for share. I&#8217;m ready use it for my code. <img
src='http://greatwebguy.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: networx recruitment</title><link>http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/#comment-995</link> <dc:creator>networx recruitment</dc:creator> <pubDate>Fri, 17 Jun 2011 10:37:22 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=47#comment-995</guid> <description>Really handy thanks, we have been looking for a way of doing this without using asp.</description> <content:encoded><![CDATA[<p>Really handy thanks, we have been looking for a way of doing this without using asp.</p> ]]></content:encoded> </item> </channel> </rss>
