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


Author: Sandeep Gangadharan
Home Page:

The script is given below:

This goes in the HEAD of the html file:

This goes in the BODY of the html file: