iframe中动态添加html内容

 

   function CheckVersion(obj, sec) {
            var o = document.getElementById("div_Ver");
            ed = document.all ? o.contentWindow.document : o.contentDocument;
            ed.open();
            ed.write('');
            ed.close();
            ed.contentEditable = true;
            ed.designMode = 'on';
              }

iframe中动态添加html内容_第1张图片

你可能感兴趣的:(javascript)