JQ子页面对父页面的元素进行操作

需要加上parent.document,才能找到父页面的元素

如:

$("#tabs", parent.document).click();

原文地址:https://www.cnblogs.com/suxiaBlogs/p/7069499.html