Newby, need javascript for calculations
Hi, I'm completely new to app development. I was able to create the simple beginning tutorial and it's pretty similar to what I want. The tutorial has a text entry on page one that displays in page two:
var input = Tiggzi('Input').val();
localStorage.setItem('text', input);
Tiggzi.navigateTo('Result', {});
To start with, what I need is the javascript to replace the middle line that would do a calculation and put it on page two instead::
var input = Tiggzi('SquareFeet').val();
var total = input * .06;
Tiggzi.navigateTo('Result', {});
This will progress on to some "if, then" type calculations, but that's as complicated as it gets.
Is there a good reference for writing spreadsheet type javascript calculations without getting buried under javascript everything?