-
Notifications
You must be signed in to change notification settings - Fork 42
Home
James Pederson edited this page May 17, 2014
·
15 revisions
- Include jQuery (recommend latest)
- Include
jquery.accrue.min.js
from the repository. This is the only file you need - the CSS is only for the demo page. - Create a calculator div, select it, and call the accrue function on it. Like so:
<div class="calculator"></div>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="jquery.accrue.min.js"></script>
<script>
$(document).ready(function(){
$(".calculator").accrue();
});
</script>
See it in action at AccrueJS.com. Built with care for free by James Pederson.