I'm creating a Web page on which I want to do some math, and I'm pretty
sure it's best don with Javascript, but I have no idea where to get
started. Here's the deal.
I want to allow the user to enter a number and click "Go," at which
point a table would be updated to show the result of multiplying that
number by certain constants.
For example, if the user enters 20, the table would multiply 20 by the
constant $10.00 and display the product, $200.00, in the appropriate
cell. The table would also multiply 20 by the constant $5.00 and display
that product, $100.00, in its appropriate cell. This needs to take place
in a total of four cells, so the result would be four new products based
on the multiplier of 20.
If the user then entered, say, 30, all of the four cells would be
updated to show the product of each constant multiplied by 30 instead of
20.
You can see how I hope to implement this idea at
http://teelinstitute.org/suledo/cost...forms_test.htm. The table
is meant to look more or less like it would if the user could choose any
multiplier. The list of four constants is shown in the "per student"
column.
If you have any ideas I'd appreciate knowing them, and thanks.
--Johnny
johnnyg aattssiiggnn kc.rr.com