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

如题,jquery代码:
window.parent.$('#testdiv');

猜你喜欢

转载自www.cnblogs.com/pascal1000/p/10957017.html