0

invalid label problem

This is the error info from firebug along with other details

$. ajax ({
type: "GET",
url : url ,
data: "()",
contentType: "application/ json ; charset = utf -8",
dataType: " jsonp ",
success:function( json ){
alert("in success method");
},
error:function(XMLHttpRequest, textStatus, errorThrown){
alert("XMLHttpRequest"+XMLHttpRequest);
alert("textStatus"+textStatus);
alert("errorThrown"+errorThrown);
}
});

Error: invalid label
Source File: http://where.yahooapis.com/geocode?appid=j...+CA&flags=J
Line: 1, Column: 1
Source Code:
{"ResultSet":{"version":"1.0","Error":0,"ErrorMessage":"No error","Locale":"us_US","Quality":40,"Found":1,"Results":[{"quality":40,"latitude":"37.777125","longitude":"-122.419644","offsetlat":"37.777125","offsetlon":"-122.419644","radius":10700,"name":"",

my requirement is simple I just want to get the lat long data back through json (that will be called thorugh a jquery ajax request) but every time I am getting invalid label error , whether I am missing something silly stuff , cam someone provide me a code demo where I can get the json response back after calling thorugh a jquery ajax request

by
1 Reply
  • how did you solve this?
    I'd be grateful because I could have the same problem
    0
This forum is locked.

Recent Posts

in PlaceFinder Applications and Demos