1. Home
  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
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.