Sign up ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

When I enter the API URLs into my browser they work, but when I try from jQuery they just return null. When I open the HTML below, all I get is an alert that says null, despite the fact that Firebug shows me that the correct request was made.

        <script src=""
        <script type="text/javascript">//<![CDATA[
                    url: "",
                    dataType: 'json',
                    success: function(data, text, xhr){
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Welcome to the wonderful world of cross domain scripting!

We do support JSONP, to alleviate this. Just drop jsonp=myMostFavoriteMethod onto any request, and it'll be returned in a wrapper function invocation.

See also.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .