<textarea>中的文本(带有换行)用程序PasteSpecial粘帖到word中,没有了换行?谢谢!!! Office安装后自带的vba帮助非常的全!看看吧。\Program Files\Microsoft Office\Office\2052 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <textarea id="txt">sdfdsadsaffsdafsdfsadfadsfdsaf</textarea><script type="text/vbs">str=replace(txt.value,chr(10),"<br>")</script><script language="JavaScript"><!--var printWindow=window.open("","PrintWindow","width=10,height=10,left=10000,top=10000");printWindow.document.write (str);printWindow.location.reload();printWindow.document.execCommand ("selectall");printWindow.document.execCommand ("copy");var wApp = new ActiveXObject("Word.Application");wApp.visible = true ;wApp.Documents.add();wApp.Selection.PasteSpecial();wApp.Options.DisplayGridLines =false;//--></script>------------这样呢? ckeditor编辑器的CSS被ext4的css“污染”,造成选择框变型,求好的解决方案 JQuery EasyUI 和 IE 的兼容问题 如何用jQuery 把div里面的文字去掉? 请麻烦解决一下与菜单相关的问题 evt是什么? ajax 实现的留言版,超不错滴。 希望与大家共同探讨ajax的奥秘所在。 求一去掉某字符串首尾空格的函数 【征集】有网站的都进来 关于层的问题,解答必给分!! 页面加载的时候自动执行,????? 很奇怪的问题:设置了框架水平滚动条始终显示,还是不显示.只到不够显示文字时才出现. 100分求解,HTML LIST 拖拽的问题,UP 有分
dsaf
fsdaf
sdf
sadfadsf
dsaf</textarea>
<script type="text/vbs">
str=replace(txt.value,chr(10),"<br>")
</script>
<script language="JavaScript">
<!--var printWindow=window.open("","PrintWindow","width=10,height=10,left=10000,top=10000");
printWindow.document.write (str);
printWindow.location.reload();
printWindow.document.execCommand ("selectall");
printWindow.document.execCommand ("copy");var wApp = new ActiveXObject("Word.Application");
wApp.visible = true ;
wApp.Documents.add();
wApp.Selection.PasteSpecial();
wApp.Options.DisplayGridLines =false;//-->
</script>------------
这样呢?