ajax request via jquery for a url that redirects
- by user177883
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?