Calculation Plug-in 0.2-beta-2
Size: 9.75 KB
md5_file hash: cce614aacc2964486ccb5285ccd98872
First released: February 25, 2008 - 7:15am
* Fixed bug in sMethod in calc() (was using getValue, should have been setValue)
* Revised the sum() and avg() functions. Added the bind and selector arguments to both methods. This allows you to add automatically binding and a selector to place the newly calculated value. Either the bind or selector arguments can be an options object. Valid options are current:
- bind: the event to use for the bind() method
- selector: the selector (can be either a string, DOM element or jQuery object)
- oncalc: a callback method to run when the calculation occurs
