.getScript getting the redirect url of javascript

Posted by user177883 on Stack Overflow See other posts from Stack Overflow or by user177883
Published on 2010-05-09T05:04:38Z Indexed on 2010/05/09 6:08 UTC
Read the original article Hit count: 279

I d like to execute a remote javascript which redirects the user to another page on my domain with data that s passes as query string. I want to get this data which is passed on to the page on my domain.

        $.getScript('http://site.com/foo.js', function() {
            //foo.js redirects to another page on my domain with data
            // and i d like to capture that data from this function, 
            // at least if i find the parameters that passed on there, i ll be fine.  
        });

What to do ?

http://api.jquery.com/jQuery.getScript/

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ajax