bad in javascript? do you have experience in other technologies? javascript is not the only way to do so.
start your function using the onclick, and use the getElement("elementId").getValue() methods to retrieve the values of your input fields.
when you've completed your mathematical operation(s), just use getElement("elementID").setValue(resultOfCalculation)
I'm not sure if it's get/setValue(), since I don't really use javascript that often, it's possible that it 's get/setText()
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
as I said, I don't use javascript very often, I just knew it's something similar to that :)
stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433