版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cainiaobulan/article/details/86493061
JQ:
1,$("#id",parent.document)
2,$(window.parent.document).find("#id")
JS:
1,parent.document.getElementById("id").value
window.parent.document.getElementById("id")等同parent.document.getElementById("id").value
推荐使用js的方式来获取