<?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: Calculating The Sum of Inputs</title>
	<atom:link href="http://jqueryminute.com/calculating-the-sum-of-inputs/feed/" rel="self" type="application/rss+xml" />
	<link>http://jqueryminute.com/calculating-the-sum-of-inputs/</link>
	<description>...a jQuery Minute™ later and you&#039;re done!</description>
	<lastBuildDate>Fri, 09 Apr 2010 22:13:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Radoslav Stankov</title>
		<link>http://jqueryminute.com/calculating-the-sum-of-inputs/comment-page-1/#comment-265</link>
		<dc:creator>Radoslav Stankov</dc:creator>
		<pubDate>Fri, 06 Nov 2009 23:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryminute.com/?p=69#comment-265</guid>
		<description>Very nice I use same technique a lot. But couldn&#039;t each this be written: 

this.each(function(){
	sum += parseFloat( (&#039;0&#039; + $(this)[ $(this).is(&#039;:input&#039;) ? &#039;val&#039; : &#039;text&#039;]()).replace(/[^0-9-\.]/g, &#039;&#039;), 10 );
});

to be a bit shorter.

p.s. Proto is a bit better for those kind of stuff than jquery</description>
		<content:encoded><![CDATA[<p>Very nice I use same technique a lot. But couldn&#8217;t each this be written: </p>
<p>this.each(function(){<br />
	sum += parseFloat( (&#8216;0&#8242; + $(this)[ $(this).is(':input') ? 'val' : 'text']()).replace(/[^0-9-\.]/g, &#8221;), 10 );<br />
});</p>
<p>to be a bit shorter.</p>
<p>p.s. Proto is a bit better for those kind of stuff than jquery</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell Albin</title>
		<link>http://jqueryminute.com/calculating-the-sum-of-inputs/comment-page-1/#comment-263</link>
		<dc:creator>Russell Albin</dc:creator>
		<pubDate>Fri, 06 Nov 2009 16:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://jqueryminute.com/?p=69#comment-263</guid>
		<description>Wow, exactly what I needed!</description>
		<content:encoded><![CDATA[<p>Wow, exactly what I needed!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
