Copy link to clipboard
Copied
Hi,
Im a high school student in web design i was ask to build this online caculator for i person i do work for.
It is not as detailed as this caculator http://calculator.s3.amazonaws.com/calc5.html
but i need something very similar. If you notice when you enter in a number in the top field it sums it up
in the bottom field automatically.
Basically what i am asking for is for is when you enter in
A amount in one field it will automatically Multiply by a number in another field
and give a total by itself without having to press a caculate button
It would look like this http://ghsglobaltech.guhsd.net/students/2009/web/ftp_01_36/Untitled-1.php
very simple & not very flashy
If you know of any tutorials or are able to piont me in the right direction
it would be very much appriciated
Thank You so much for your time and assistance.
You can email me at
chance.house@yourtcr.com
You could perform the calculations using either client side javascript, or with a server side language such as php. The example that you gave uses client side javascript. So, for starters if you are not already familiar with JScript you would need to learn that. Here's a good place to start:
http://www.w3schools.com/js/default.asp
If you prefer to use a server side solution, then of course you would need to be familiar with that language too.
Copy link to clipboard
Copied
You could perform the calculations using either client side javascript, or with a server side language such as php. The example that you gave uses client side javascript. So, for starters if you are not already familiar with JScript you would need to learn that. Here's a good place to start:
http://www.w3schools.com/js/default.asp
If you prefer to use a server side solution, then of course you would need to be familiar with that language too.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
thank you it worked perfect