我用在DIV中插入的办法报错:
window.opener.document.getElementById('texts').insertAdjacentHTML('BeforeEnd',ss);
iframe中究竟这句应该如何改写呢?
请高手指点迷津,谢谢。
window.opener.document.getElementById('texts').insertAdjacentHTML('BeforeEnd',ss);
iframe中究竟这句应该如何改写呢?
请高手指点迷津,谢谢。
function createImg() {
var sPhoto=prompt("请输入图片位置:", "http://");
if ((sPhoto!=null) && (sPhoto!="http://")){
format("InsertImage", sPhoto);
}
}我现在需要改成在子页中操作父页这样插入一些图片,应该如何改写呢?