jquery - problem with javascript callback -


so here code have:

$.getjson("http:\/\/tinygeocoder.com\/create-api.php?g=" + lat + "," + lng + "&callback=?", function(data) {       alert(data);}; 

and it's working fine in chrome , safari... fails in mobile safari. here error i'm getting:

http://tinygeocoder.com/create-api.php?g=39.67997936,-104.(removed space)&callback=jsonp1302553994489 syntaxerror: parse error 

anyone have ideas?

when try browse url, response back:

bummer, we've had many queries , 1 of our data sources has decided not work. please <a href="mailto:info@tinygeocoder.com">let know</a>. 

as not json, causes parsing error.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -