coderspress / jquery-currency Goto Github PK
View Code? Open in Web Editor NEWSimple, unobtrusive currency converting and formatting
License: MIT License
Simple, unobtrusive currency converting and formatting
License: MIT License
was fine before move but i can not see the error
Hi gilbitron,
I am trying to use your neat plugin on a Wordpress site, but am only getting £0.00 as a result. I don't mind turning of the prefix if the parsing is an issue, but I would like to figure out how to get the converter working!
Here is the page: http://indigobrazilianportuguese.com/test-3/?val=200
And the code (identical for each input, the difference between each input being how the values are originally set to 200:
$('#input_6_2').currency({ region: 'GBP', convertFrom: 'USD', convertLocation: 'http://indigobrazilianportuguese.com/2012/wp-content/themes/indigo/js/currency/convert.php' });
$('#input_6_4').currency({ region: 'GBP', convertFrom: 'USD', convertLocation: 'http://indigobrazilianportuguese.com/2012/wp-content/themes/indigo/js/currency/convert.php'});
$('#input_6_5').currency({ region: 'GBP', convertFrom: 'USD', convertLocation: 'http://indigobrazilianportuguese.com/2012/wp-content/themes/indigo/js/currency/convert.php'});
Hoping you can help!
Thanks,
Caroline
since you've figured out all the logic needed to make this happen, it would be really much more useful to have a javascript function that simply received a value and converted it:
FormatCurrency("2300"); // $2,300.00
...rather than having to have an object on the page to do it. keeping your current implementation is, of course, very useful but in many other cases I may not have an element on the page I want to convert, I just have a value.
in other words, exposing the helper methods would give the module much greater functionality.
my two pence.
Hello,
I try
.currency({ region: 'EUR', thousands: '', decimal: ',', decimals: 2, hidePrefix: true, hidePostfix: false });
But it doesnt show PostFix
Is it a error ?
Eric
Warning (2): file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known [APP/Controller/convert.php]
My Php version is 5.2.16.
I probably made no mistake..what could be the issue?
Hello! How can I set 123$ instead $123?
Hi,
A trailing comma just after the 'init' function (in line 59) provokes an error in IE7. Removing it resolves the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.