August 12, 2005

javascript to do basic calculations from form data

I'm writing a javascript to perform a few simple calculations starting from one number entered by a user on a form on a web page, then output the results of the calculation in a popup window.

I wrote something like this a couple years ago that was more complicated, but I've forgotten some basic javascript stuff since then. I'm trying to brush up.

I found this page that has some a very basic script & form, which I'm using as a reference.

I have the script written but it's not working so far. I'll post an update when I get it working.

Posted by sigal003 at August 12, 2005 1:51 PM