2022年11月21日

js获取iframe最上层或者上上层的元素值

摘要: alert($("#xxx",parent.parent.document).val())//获取上上层的元素值 alert(window.top.$("#xxx").val())//获取最上层的元素值 alert($(window.top.document.getElementById("xxx" 阅读全文

posted @ 2022-11-21 17:00 会走路的虾米 阅读(871) 评论(0) 推荐(0) 编辑