使用juery在iframe内部访问父页面元素

如题,jquery代码:
window.parent.$('#testdiv');
原文地址:https://www.cnblogs.com/pascal1000/p/10957017.html