Hi All,

The API doc says that .location property of the NewsSearch result
contains the location of the news story. But I'm not getting any value
in it. I'm doing like this:

      var results = newsSearch.results;
        for (var i = 0; i < results.length; i++) {
          var result = results[i];

          alert("loc " + result.location);
          var loc = document.createElement('td');
          loc.appendChild(document.createTextNode(result.location));
          container.appendChild(loc);

}

Is it a bug or I'm doing something wrong? Please can someone help.

thanks & Regards,
Ashwani
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to