Enter the number of bills and coins and this script will calculate the total amount of money you have. All blank entries are ignored. Input field validation is also included -- try entering a non-digit into a field. Also, this script is a good demonstration of a JavaScript return function in use. Neat!
|