1. About.com
  2. Computing & Technology
  3. JavaScript

Loan Amount Calculator

3. Body Script

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

Introduction Head Script

The final step is to copy the following script into the body section of your page where you want the calculator to appear.

Once you have created your code you just save it to an external javascript file. I called mine borrowb.js. You then link it into the body of your page where you want the calculator to appear using the following code:

<script type="text/javascript" src="borrowb.js">
</script>
Sample Page | Head Script | Body Script

©2012 About.com. All rights reserved. 

A part of The New York Times Company.