How does this cross-domain request work ?

Posted by Phonethics on Stack Overflow See other posts from Stack Overflow or by Phonethics
Published on 2010-05-04T13:25:56Z Indexed on 2010/05/04 13:28 UTC
Read the original article Hit count: 152

Filed under:
|
|
|
$.ajax(
{
    url : "http://search.twitter.com/search.json?q=google&lang=en&rpp=10&since_id=&callback=?",
    dataType : 'json',
    success : function(data)
    {
        alert(data.results.length);
    }
});

How exactly is this working ? I mean the cross-domain request.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jsonp