最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
html 转换成asp javascript 代码
时间:2010-03-25 编辑:简简单单 来源:一聚教程网
html 转换成asp教程 javascript教程 代码
function htmlphp教程(){
var input = document.htphp.input.value;
output = "Response.Write "";
for (var c = 0; c < input.length; c++){
if ((input.charAt(c) == "n" || input.charAt(c) == "r")){
output += "" & vbCrLf";
if (c != input.length - 1) output +="n Response.Write "";
c++;
}
else {
if (input.charAt(c) == "");") {
output += "\"";
}
else {
if (input.charAt(c) == "\"){
output += "\\";
}
else {
output += input.charAt(c);
if (c == input.length -1) output += "" & vbCrLf";
}
}
}
}
info="<% n" +
"#### 此代码由 工具啦(http://www.Tool.La) 转换 ####n" +
"nn"
info2="n Response.Write ""n" +
"%>";
document.htphp.output.value =info+output+info2;
}
-
上一个: html 转换php 代码
-
下一个: 汉字转换拼音js代码
相关文章
- HTML简单购物数量小程序代码展示 10-31
- html canvas实现弹幕功能 10-31
- HTML中空格表示的意义 10-31
- html area标签解读 10-31
- html使用表单标签实现注册页面代码展示 10-31
- 使用HTML截图并保存为本地图片的代码展示 10-31