为什么要作案成JS文件?
直接<!--#include file="top.asp"-->不好吗?
直接<!--#include file="top.asp"-->不好吗?
解决方案 »
- |zyciis| Jquery Ajax中,如何做错误处理和超时处理
- 为什么不可以在fckeditor放入完整的<object>和<embed>tag?
- 看看这段代码错误在哪里??? 十万火急
- Office2007中带javascript调试器吗?
- self.location和document.location和window.location的关系?
- 举手!问个问题,,,
- 怎样实现用windows.open打开窗口在指定位置处?
- asp如何实现修改checkbox......?
- 怎样用js捕获表单提交后,找不到action的页面?急!
- tableExport导出翻页数据
- 请问如何实现csdn论坛的这个分割条的功能?
- 利用textarea制作在线编辑器中出现的问题?
然后在要用的地方直接写入记事本中的内容就行了,这样,你就可以写任何的内容,不会存在写时出错
<head>
<iframe src=html.txt style="display:none" id=htmltxt></iframe>
</head>
<body>
<script src=createhtml.js></script>///////////////////
createhtml.js
///////////////document.write(htmltxt.document.all[0].outerText);
不知道有没有什么好的方法,请指教
html代码中本身含有js代码,没有关系,一样转换。