asp能直接调用js变量吗?
asp能直接调用js变量吗?
<script>
function showselect()
{
var selects=document.Groups.ggfl.value;
if (document.Groups.ggfl.value==selects) {
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from 广告管理 where ggfl="&selects,con,1,1 '可以的话这条件应该如何写
dim paixu
if rs.EOF and rs.BOF then
paixu=0
else
do while not rs.EOF%>
<%rs.MoveNext
loop
paixu=rs.RecordCount
end if
rs.close
set rs=nothing%>
document.Groups.ggzt.value = selects;
}
}
</script>