html下载本地
通过javascript 实现index.html下载文件#######temp.html//被下载文件if (typeof(window.opener) != 'undefined')//判断 打开方式的下载。 去掉会一打开文件就弹出下载框{document.execCommand('SaveAs
通过javascript 实现index.html下载文件#######temp.html//被下载文件if (typeof(window.opener) != 'undefined')//判断 打开方式的下载。 去掉会一打开文件就弹出下载框{document.execCommand('SaveAs
存成.asp文件,执行,你用ASPHTTP抓内容的时候用这个很爽,当然自己要改进一下了"'Replace all HTML tag matches with the empty stringstrOutput = objRegExp.Replace(strHTML, "")'Replace all
记得以前贴过一个ubb代码转换为html格式的代码,前几天读ubb的源代码。所以有了这个新的版本。注意,这个版本可能还不能正常使用,详细见注。 这段代码将用户输入的ubb代码转化为html格式,注意,需要Script Engine 5.0的支持(使用了RegExp对象)注:pattern中使用()将
",">"),"255 thent=t+2elset=t+1end ifif t>=strlen thengotTopic=left(str,i) & "…"exit forelsegotTopic=strend ifnextgotTopic=replace(replace(re