Skip to main content
Participant
October 2, 2009
解決済み

Can someone help me build a similar online caculator ?

  • October 2, 2009
  • 返信数 2.
  • 701 ビュー
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

このトピックへの返信は締め切られました。
解決に役立った回答 bregent

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.

返信数 2

Participant
October 3, 2009
chance_hc作成者
Participant
October 4, 2009

thank you it worked perfect

bregent解決!
Participating Frequently
October 2, 2009

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.