IE5+ Opr7+

DHTML Calculator with receipt output

Author: Dynamic Drive

Description: A DHTML calculator that also outputs a "receipt" after each calculation! (Double clicking "c" resets the receipt, pressing "=" multiple times line breaks it)

Demo:

0
7 8 9 /
4 5 6 *
1 2 3 -
0 +/- . +
C
=


Directions Developer's View

Step 1: Save the below "receipt" file into your web page directory. This is file that will be used to output the receipt.

receipt.htm

Step 2: Copy and paste the below into the <body> section of your web page:

Select All

Wordpress Users: Step by Step instructions to add ANY Dynamic Drive script to an entire Wordpress theme or individual Post