ajax request via jquery for a url that redirects

Posted by user177883 on Stack Overflow See other posts from Stack Overflow or by user177883
Published on 2010-05-08T20:31:17Z Indexed on 2010/05/08 20:38 UTC
Read the original article Hit count: 152

Filed under:
|
|
|
|

I m trying to access a data after invoking a URL which redirects the output to another page with query strings.

ie:

 $.ajax({
        url: 'http://foo.com/results/bar.aspx?fooid = 123&more=1',
        success: function(data) {
            alert('Load was performed.'+data);
        }
    });

Reponse results empty. This URL is a redirect to another page with query string, I already have a page that parses the query string and write the output to a page.

But response is blank.

How can i get this data?

© Stack Overflow or respective owner

Related posts about aspx

Related posts about .NET