代码如下:
Js代码
$('#objId', parent.document);
在父页面 获取iframe子页面的元素
代码如下:
Js代码
$("#objid",document.frames[0].document)
from:http://hi.baidu.com/eyescode/blog/item/81ba20ebd68d4b34b90e2d20.html
from:http://hi.baidu.com/eyescode/blog/item/81ba20ebd68d4b34b90e2d20.html
相关文章: