js获取当前Frame在父页面中的id

 window.frameElement.id

原文地址:https://www.cnblogs.com/real9527/p/9363910.html