1.  
    Trying to get to grips with the Google currency conversion API.

    v1.0
    v2.0
    (View source. Currently both versions are set to use the console.log rather than to amend the page itself, though that's the intended use.)

    v1.0 appears not to throw any errors, but also doesn't give me access to object values.
    v2.0 throws an 'invalid label' error, but does appear to return the expected string, albeit without giving me access to its contents.

    It's been quite a while since I fiddled with js beyond a few easy jq animations, and I'm stumped as to how to get access to the values being returned.

    Any/all help and enlightenment much appreciated. Ta.
  2.  

    Seems that jQuery is falling over trying to process the google response, no idea why though.

  3.  
    The first is failing as its attempting a standard AJAX request to a remote domain, which isn;t allowed. Ever.

    I had a play with the second one but can't get it returning anything either. One thing you need to add is the callback parameter in your URL. I don't use JSONP much so it might be worth checking that Google supports it and you are using the right parameters, (http://api.jquery.com/jQuery.ajax/).
  4.  
    Cheers, guys.

    The odd thing about the second one is that, although it returns an 'invalid label' error, it also appears to return the appropriate json.

 
Sponsors: Web Design London