iframe的当前url的获取方法 代码如下: parent.document.getElementById("content_info").contentWindow.location.href 其中:content_info为iframe的id