Sandeep's Nook: JavaScript Page

Textarea Adder

Below is the Textarea Adder script that adds numbers fed within the textarea. Just type in the numbers to be added - remembering to press the Enter (return) key after each number - in the textarea on top and click the Add button. The added total will appear in the textbox below.

Textarea Adder

Total:

Author: Sandeep Gangadharan
Home Page: http://www.sivamdesign.com/home/


The script is given below:

This goes in the HEAD of the html file:

This goes in the BODY of the html file: