jCalculator

Awesome jQuery plugin for calculator inputs

Demonstration

How to install

1. Include the following files before body tag close.

<link href="path_to/jcalculator.css" rel="stylesheet" type="text/css">
<-- jQuery library -->
<script type="text/javascript" src="path_to/jquery.js"></script>
<script type="text/javascript" src="path_to/jcalculator.min.js"></script>

2. Call the jCalculator plugin.

<script type="text/javascript">
$('#yourInput').calculator();
</script>

适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗.

来源:站长素材