js获取当前iframe的ID

self.frameElement.getAttribute('id');其他属性也可以通过这种方式获取。

原文地址:https://www.cnblogs.com/zinan/p/8607730.html