Accrue.js is a jQuery plugin for providing EMI loan and interest calculations on web pages. It’s light weight, fast, flexible calculator. users can execute your own code every time the the tool calculates.
Table of Contents
Basic Usage:
Load the latest version of jQuery javascript library and Accrue.js at the end of the document.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="jquery.accrue.min.js"></script>
Add HTML Element in page.
<div class="calculator"></div>
Call the jQuery Function.
$(document).ready(function(){
$(".calculator").accrue();
});
Other All Functions :
// start accrue.js
$(document).ready(function(){
// set up normal loan calculation
$(".calculator-loan").accrue();
// set up the comparison calculator form.
$(".calculator-compare").accrue({
mode: "compare"
});
// set up the amortization schedule calculator
$(".calculator-amortization").accrue({
mode: "amortization"
});
});
Done
Thanks for make jQuery plugin is developed by jpederson For more Helpfull for users, please check the demo page or visit the official website.