<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Alfa Jango Blog</title>
	
	<link>http://www.alfajango.com/blog</link>
	<description>Engineering, Software, and Entrepreneurship</description>
	<lastBuildDate>Thu, 17 May 2012 06:38:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/alfajangocomments" /><feedburner:info uri="alfajangocomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on jQuery EasyTabs Plugin Update:Now More Flexible and Usable by chandresh</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/hvG17qx4yw8/</link>
		<dc:creator>chandresh</dc:creator>
		<pubDate>Thu, 17 May 2012 06:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=625#comment-4324</guid>
		<description>Hi Molaro, I am also having same issue. Have you found any fix for that? I would appreciate if you will share with us.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Molaro, I am also having same issue. Have you found any fix for that? I would appreciate if you will share with us.</p>
<p>Thanks.</p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/hvG17qx4yw8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/jquery-easytabs-plugin-now-more-flexible-and-usable/comment-page-1/#comment-4324</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 Remote Links and Forms: A Definitive Guide by Steve Schwartz</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/PjOH7LhJlDg/</link>
		<dc:creator>Steve Schwartz</dc:creator>
		<pubDate>Tue, 08 May 2012 20:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=915#comment-4320</guid>
		<description>Thanks! Def good suggestion though for errors from connection problems.</description>
		<content:encoded><![CDATA[<p>Thanks! Def good suggestion though for errors from connection problems.</p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/PjOH7LhJlDg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-remote-links-and-forms/comment-page-1/#comment-4320</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 Remote Links and Forms: A Definitive Guide by reggieb</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/qdOFleXXMA0/</link>
		<dc:creator>reggieb</dc:creator>
		<pubDate>Tue, 08 May 2012 20:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=915#comment-4319</guid>
		<description>Bit of both then :)

Oh, and I should have said thank you for a splendid pair of articles.</description>
		<content:encoded><![CDATA[<p>Bit of both then <img src='http://cdn1.alfajango.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh, and I should have said thank you for a splendid pair of articles.</p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/qdOFleXXMA0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-remote-links-and-forms/comment-page-1/#comment-4319</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 Remote Links and Forms: A Definitive Guide by Steve Schwartz</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/GkN_AVUXJlg/</link>
		<dc:creator>Steve Schwartz</dc:creator>
		<pubDate>Tue, 08 May 2012 17:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=915#comment-4318</guid>
		<description>That's a good point, but it really just depends on your app. jQuery will actually fire the error event if your server responds with a 4xx or 5xx status code as well. For most of my apps, the vast majority of errors from the app are from the back end and come with explanations, like validation failures (422 Unprocessable Entity) when trying to save an object.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point, but it really just depends on your app. jQuery will actually fire the error event if your server responds with a 4xx or 5xx status code as well. For most of my apps, the vast majority of errors from the app are from the back end and come with explanations, like validation failures (422 Unprocessable Entity) when trying to save an object.</p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/GkN_AVUXJlg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-remote-links-and-forms/comment-page-1/#comment-4318</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 Remote Links and Forms: A Definitive Guide by reggieb</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/vXYGr6oqVrQ/</link>
		<dc:creator>reggieb</dc:creator>
		<pubDate>Tue, 08 May 2012 10:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=915#comment-4316</guid>
		<description>Doesn't an ajax error mean that the client was unable to complete the call to the server. Therefore, handling the error by outputting response text is not the right solution. Instead shouldn't you process the ajax error or status object.

Also I think ajax:error object only passes three parameters to the function: error(jqXHR, textStatus, errorThrown).

Therefore this section:
[cc lang="ruby"]
  .bind('ajax:error', function(evt, xhr, status, error){

    // Display the errors (i.e. an error partial or helper)
    $(this).find('.errors').html(xhr.responseText);

  });
[/cc]

Should be something like:

[cc lang="ruby"]
  .bind('ajax:error', function(xhr, status, error){

    // Display the errors (i.e. an error partial or helper)
    $(this).find('.errors').html(status);

  });
[/cc]</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t an ajax error mean that the client was unable to complete the call to the server. Therefore, handling the error by outputting response text is not the right solution. Instead shouldn&#8217;t you process the ajax error or status object.</p>
<p>Also I think ajax:error object only passes three parameters to the function: error(jqXHR, textStatus, errorThrown).</p>
<p>Therefore this section:</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; .<span style="color:#9900CC;">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'ajax:error'</span>, function<span style="color:#006600; font-weight:bold;">&#40;</span>evt, xhr, status, error<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span><br />
<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">//</span> Display the errors <span style="color:#006600; font-weight:bold;">&#40;</span>i.<span style="color:#9900CC;">e</span>. <span style="color:#9900CC;">an</span> error partial <span style="color:#9966CC; font-weight:bold;">or</span> helper<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; $<span style="color:#006600; font-weight:bold;">&#40;</span>this<span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'.errors'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">html</span><span style="color:#006600; font-weight:bold;">&#40;</span>xhr.<span style="color:#9900CC;">responseText</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<br />
&nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div></div>
<p>Should be something like:</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; .<span style="color:#9900CC;">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'ajax:error'</span>, function<span style="color:#006600; font-weight:bold;">&#40;</span>xhr, status, error<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span><br />
<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">//</span> Display the errors <span style="color:#006600; font-weight:bold;">&#40;</span>i.<span style="color:#9900CC;">e</span>. <span style="color:#9900CC;">an</span> error partial <span style="color:#9966CC; font-weight:bold;">or</span> helper<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; $<span style="color:#006600; font-weight:bold;">&#40;</span>this<span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'.errors'</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">html</span><span style="color:#006600; font-weight:bold;">&#40;</span>status<span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<br />
&nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div></div>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/vXYGr6oqVrQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-remote-links-and-forms/comment-page-1/#comment-4316</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 AJAX File Uploads with Remotipart by Steve Schwartz</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/NxrZQm4usQg/</link>
		<dc:creator>Steve Schwartz</dc:creator>
		<pubDate>Tue, 01 May 2012 21:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=1791#comment-4315</guid>
		<description>Haha, indeed it was. Definitely flagged it ;-)</description>
		<content:encoded><![CDATA[<p>Haha, indeed it was. Definitely flagged it <img src='http://cdn1.alfajango.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/NxrZQm4usQg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-ajax-file-uploads-with-remotipart/comment-page-1/#comment-4315</feedburner:origLink></item>
	<item>
		<title>Comment on Rails 3 AJAX File Uploads with Remotipart by Pierre Olivier Martel</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/FQUh5PlsN0w/</link>
		<dc:creator>Pierre Olivier Martel</dc:creator>
		<pubDate>Tue, 01 May 2012 21:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=1791#comment-4314</guid>
		<description>MySpace! My god, this is a spam bot from another era! :-)</description>
		<content:encoded><![CDATA[<p>MySpace! My god, this is a spam bot from another era! <img src='http://cdn1.alfajango.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/FQUh5PlsN0w" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/rails-3-ajax-file-uploads-with-remotipart/comment-page-1/#comment-4314</feedburner:origLink></item>
	<item>
		<title>Comment on Track jQuery AJAX Requests in Google Analytics by Steve Schwartz</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/mBA3UqKooc0/</link>
		<dc:creator>Steve Schwartz</dc:creator>
		<pubDate>Tue, 01 May 2012 19:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=1228#comment-4312</guid>
		<description>Awesome, thanks for the note :-)</description>
		<content:encoded><![CDATA[<p>Awesome, thanks for the note <img src='http://cdn1.alfajango.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/mBA3UqKooc0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/track-jquery-ajax-requests-in-google-analytics/comment-page-1/#comment-4312</feedburner:origLink></item>
	<item>
		<title>Comment on Track jQuery AJAX Requests in Google Analytics by Olly</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/0oX5ZZNJfD0/</link>
		<dc:creator>Olly</dc:creator>
		<pubDate>Tue, 01 May 2012 16:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=1228#comment-4311</guid>
		<description>Just a note that if you have a REALLY old google analytics implementation (urchin.js), you will need to use the urchinTracker function not trackPageView

[cc_js]
ajaxSend(function(event, xhr, settings){// Log all jQuery AJAX requests to Google Analytics
    if (typeof urchinTracker !== "undefined" &amp;&amp; urchinTracker !== null) {
      urchinTracker(settings.url);
    }
});
[/cc_js]</description>
		<content:encoded><![CDATA[<p>Just a note that if you have a REALLY old google analytics implementation (urchin.js), you will need to use the urchinTracker function not trackPageView</p>
<div class="codecolorer-container javascript twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ajaxSend<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #339933;">,</span> xhr<span style="color: #339933;">,</span> settings<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #006600; font-style: italic;">// Log all jQuery AJAX requests to Google Analytics</span><br />
&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span> urchinTracker <span style="color: #339933;">!==</span> <span style="color: #3366CC;">&quot;undefined&quot;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> urchinTracker <span style="color: #339933;">!==</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; urchinTracker<span style="color: #009900;">&#40;</span>settings.<span style="color: #660066;">url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/0oX5ZZNJfD0" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/track-jquery-ajax-requests-in-google-analytics/comment-page-1/#comment-4311</feedburner:origLink></item>
	<item>
		<title>Comment on The Difference Between jQuery’s .bind(), .live(), and .delegate() by Steve Schwartz</title>
		<link>http://feedproxy.google.com/~r/alfajangocomments/~3/M5A6YaY8IIY/</link>
		<dc:creator>Steve Schwartz</dc:creator>
		<pubDate>Mon, 30 Apr 2012 08:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.alfajango.com/blog/?p=1432#comment-4310</guid>
		<description>If you're talking strictly about script tags placed directly in your html document, then yes, but I was referring to javascript in an external javascript file, which is usually where you would write your javascript. And links to external js files are usually in the head section.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re talking strictly about script tags placed directly in your html document, then yes, but I was referring to javascript in an external javascript file, which is usually where you would write your javascript. And links to external js files are usually in the head section.</p>
<img src="http://feeds.feedburner.com/~r/alfajangocomments/~4/M5A6YaY8IIY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.alfajango.com/blog/the-difference-between-jquerys-bind-live-and-delegate/comment-page-1/#comment-4310</feedburner:origLink></item>
</channel>
</rss><!-- Dynamic page generated in 0.564 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-17 03:02:36 -->

