js获取iframe最上层或者上上层的元素值
alert($("#xxx",parent.parent.document).val())//获取上上层的元素值
alert(window.top.$("#xxx").val())//获取最上层的元素值
alert($(window.top.document.getElementById("xxx")).val())//获取最上层的元素值
alert($("#xxx",parent.parent.document).val())//获取上上层的元素值
alert(window.top.$("#xxx").val())//获取最上层的元素值
alert($(window.top.document.getElementById("xxx")).val())//获取最上层的元素值