开始:
你能让javascript和vbscript实现从同一个表格里传出音乐。看看下面的脚本:
<%@LANGUAGE="JavaScript"%>
<%
var a = 2;
var b = 2;
var c = add(a,b)
c += " (Two numbers are added by JavaScript, "
c += "and then formatted into currency by VBScript.)"
function add(x,y)
{
result = x + y;
result = toDollars(result);
return result;
}
Response.Write("\r")
Response.Write(JSGreeting() + "
\r")
Response.Write(VBGreeting() + "
\r")
Response.Write(c + "
\r")
Response.Write("
时间: 2024-10-25 20:05:41