<input type="button" value="重新编辑" οnclick="clean()"/> <script type="text/javascript"> var i=""; function clean(){ var b=document.getElementById("cws_Composition").contentWindow; //cws_Composition b.document.body.innerHTML =" "; i=" "; } </script>