<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wekadesign &#187; web</title>
	<atom:link href="http://www.wekadesign.co.nz/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wekadesign.co.nz</link>
	<description>web apps that solve problems</description>
	<lastBuildDate>Sun, 20 Jun 2010 04:08:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adding up Rows with JQuery</title>
		<link>http://www.wekadesign.co.nz/2009/02/26/adding-up-rows-with-jquery/</link>
		<comments>http://www.wekadesign.co.nz/2009/02/26/adding-up-rows-with-jquery/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 03:01:32 +0000</pubDate>
		<dc:creator>Mike McMurray</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[tables]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.wekadesign.co.nz/blog/?p=64</guid>
		<description><![CDATA[Simple and sometimes unnecessary function to add table cells together and populate another with the total. Using jQuery because its easy and it works and we all love it. $(document).ready(function() {     var x = 0;     $("td.num").each(function() {         x += parseInt($(this).html());     })     $("td#total").html(x); }); Where your table cells to add [...]]]></description>
			<content:encoded><![CDATA[<p>Simple and sometimes unnecessary function to add table cells together and populate another with the total. Using jQuery because its easy and it works and we all love it.</p>
<pre>$(document).ready(function() {
    var x = 0;
    $("td.num").each(function() {
        x += parseInt($(this).html());
    })
    $("td#total").html(x);
});</pre>
<p>Where your table cells to add up are <em>&lt;td class=&#8221;num&#8221;&gt;</em> and the table cell that has the total is <em>&lt;td id=&#8221;total&#8221;&gt;</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wekadesign.co.nz/2009/02/26/adding-up-rows-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
