EDIT:Here is the error message: XMLHttpRequest cannot load http://www.geocodefarm.com/api/forward/json/xxxxxxxxxxxxapicodexxxxxxxxxxxxx/london. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'localhost' is therefore not allowed access.
Then this is the code which I am using to try and display the latitude value from the JSON:
$.getJSON("http://www.geocodefarm.com/api/forward/json/d4abb1b19adb13e42eac5a7beac6f4dbeb4b4ba4/" + searchBox.value, function(data) {
alert("test");
alert(data.geocodingResults.COORDINATES.latitude);
});