-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught fx error #8
Comments
If you are loading the rates like in the jquery ajax examples make sure you call fx only after that. Another point is about where are you calling fx, you can try to call it using window.fx and check if works. |
👍 Works for me. |
Im having the same problem... my page wont load even after I call the window.fx I feel I must be missing something. Please help!! |
Hi, I am having the same problem... "Uncaught fx error please guide me how to solved this error My Website URL :- http://vandvshop.com/production/ I am in trouble pls help me Thanks! |
Was this issue ever resolved? I'm having the same problem. |
same problem here |
Try using other currencies. Like |
I ended up resolving my issue, by looking at the money js source code. The line in question was: // Throw an error if either rate isn't in the rates array
if ( !rates[to] || !rates[from] ) throw "fx error"; There was no "from" value set in fx.settings, so setting it to my base currency seemed to fix that issue: fx.settings = { from: "USD"}; . I also had to set the fx.convert function within the function where I make my JSON request and use bind(this) to bind the data. |
I don't understand what's happening, but it's not working |
Same issue |
2 similar comments
Same issue |
Same issue |
same issue |
+1 |
You'll need to wait until the AJAX request has completed before you can begin processing conversions. |
Hello,
money.js seems like a great library, but I can't seem to get it working. No matter what, I always get: "Uncaught fx error" as the javascript console output and the conversions don't seem to be working.
I get this error on a fresh page with just money.js included and the BASIC convert() function being called. To be more specific, the error also says: "b.convert (anonymous function)"
Any ideas?
The text was updated successfully, but these errors were encountered: