contentWindow

一、contentWindow document.getElementById(“myiframe”).contentWindow, 获得iframe对象后,就能够经过contentWindow获得iframe包含页面的window对象,而后就能够正常访问页面元素了; 二、appendChild() 在列表中添加项目 三、document.createElement(‘button’) 建立元素w
相关文章
相关标签/搜索