Hi Everyone!

First off - thanks in advance - and yes. I am a javascript noob. (of sorts)

I am working on a "calculator" where you click on Form Input buttons and the numbers automatically Add together in the "Total" Input. However - I need to have Three (or more) Total Windows. And I would like to swap which "Total Window" you are using via a radio button.

I have it working with one "Total Window" - but I am unsure how to swap the Field that is being used in my calculations.

Probably something simple - but I am new to javascript and the syntax...

I started a jsfiddle: http://jsfiddle.net/bigfatdesigns/eSAPk/


- Nick