开发者

jQuery - Get URL of iframe AFTER redirection on same domain

开发者 https://www.devze.com 2023-01-16 01:46 出处:网络
Using Jquery, how can I get the URL of an iframe after redirection has occurred to a URL in th开发者_如何学JAVAe same domain?The suggestion from sunn0 should work with this slight amendment.

Using Jquery, how can I get the URL of an iframe after redirection has occurred to a URL in th开发者_如何学JAVAe same domain?


The suggestion from sunn0 should work with this slight amendment.

 $("#iframeid").load(function(){
    alert(this.contentWindow.location);
 });
0

精彩评论

暂无评论...
验证码 换一张
取 消