简体   繁体   中英

jQuery - Get URL of iframe AFTER redirection on same domain

使用Jquery,如何在同一域中的URL重定向后获取iframe的URL?

The suggestion from sunn0 should work with this slight amendment.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM