input type=file没玩过,把你的代码贴出来,我看看在帮你一起研究

解决方案 »

  1.   

    打开Word对象,对Word对象进行选择,复制,然后在对你的htmledit粘贴就可以了
    具体代码如下
    function showWord(a)    
      {
         docpath="c:\\"+a+".doc";
          onerror=errormsg;
         myword = new ActiveXObject("Word.Application");
         //myword.Application.Visible = true;  
      
         myword.Documents.Open(docpath);
         myword.Selection.WholeStory();
         myword.Selection.Copy();
         newDocument();
         myEditor.document.execCommand('Paste');
     myword.Quit(); 
             myword=null;
    }