This project has moved and is read-only. For the latest updates, please go here.

Syntax for formatCurrency() in jQuery CAML

Mar 4, 2013 at 1:04 PM
What is the syntax for applying formatCurrency() to the expression


All of the permutations I have tried have returned" TypeError ....formatCurrency is not a function." I have verified that jquery.formatCurrency-1.4.0.min.js is referenced correctly.
Mar 4, 2013 at 3:43 PM
I'm guessing here, but this appears to be the documentation for this plug-in:

Armed with that, all should have to do is: $( $(this).attr("Dollars") ).formatCurrency();
That does seem like an awfully expensive operation though. Probably better to simply roll your own solution.

Mar 4, 2013 at 7:43 PM
I tried that without success. I may have to roll my own, as you say. Thanks
Mar 5, 2013 at 5:19 PM
That may be a component of a jQuery Plugin (does not appear to be a core function).