Forums

This topic is locked

calculators

Posted 11 Oct 2005 06:26:55
1
has voted
11 Oct 2005 06:26:55 Nikkisha Barnard posted:
Hi,

I'm trying to code mortgage, savings, and budget calculators. What I'm trying to accomplish is once the submit button is pressed, it calls the specific function for the specific calculator in the .js file and then send the results to the results page. Now I'm not that java saavy so I have the following questions:


Once the submit button is pressed how do I direct the program to a particular function in the .js file (if that's possible)? And, if it is possible, can I use the form action or do I need to use onClick on the submit button to accomplish this?

How do I send the results of the calculations from the .js file to another html page?

Okay that's all you help will be greatly appreciated. Thank you.
Misslilbit02


NB
#1 Player

Reply to this topic