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

Loan Repayment Calculator

2. Head Script

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

Introduction Body Script

To add the loan repayment calculator to your web page you need to copy two scripts into your page. The following script goes in the head section of your page.

Once you have created your code you just save it to an external javascript file. I called mine repayh.js. You then link it into the head of your pageusing the following code:

<script type="text/javascript" src="repayh.js">
</script>

The final step is to obtain the body script.

Sample Page | Head Script | Body Script

©2012 About.com. All rights reserved. 

A part of The New York Times Company.