[JQuery]jQuery Calculation Plug-in

baacloud免费翻墙vpn注册使用

JQuery Calculation Plug-in (v0.4.04)

The Calculation plug-in is designed to give easy-to-use JQuery functions for commonly used mathematical functions.

This plug-in will work on all types of HTML elements—which means you can use it to calculate values in <td> elements or in <input> elements. You can even mix and match between element types.

Numbers are parsed from the element using parseNumber() method—which uses a regular expression (/-?\d+(,\d{3})*(\.\d{1,})?/g) to parse out the numeric value. You can change the regular expression that's used to determine what's consider a number by changing the default regular expression.

Download

Download the plug-in:
jquery.calculation.js
jquery.calculation.min.js

赞(0) 打赏
分享到: 更多 (0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏