asp,与javascript之间传参数
<script language= "JavaScript ">
function GetResult(tclass)
{}
function MyShow(tclass)
{
var tclass;
tclass=tclass;
timer = window.setInterval( "GetResult(tclass) ",1000);
}
</script>
<%
tclass= "ab "
%>
<body onLoad= "MyShow(tclass) ">
请各位朋友帮我改改,使之能顺利的把tclass的值从 <body> 中传到GetResult()函数中去
------解决方案-------------------- <body onLoad= "MyShow( ' <%=tclass%> ') ">