js代码
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script> <script src="js/jsRapCalculator.js"></script> <script> $(document).ready(function(){ $('#demo1').jsRapCalculator({name:'name1'}); $('#demo2').jsRapCalculator({showMode:false,showBitwise:false,showHistory:false,maximumFractionDigits:2}); }); </script>