VBscript怎么与JAVAscript混合使用.我的意思是说:VBscript输出JAVAscript脚本 怎么我弄不对呀!
<%
set mycon=server.CreateObject("adodb.connection")
constr="dbq=" &server.MapPath("shipin.mdb") &";driver={microsoft access driver (*.mdb)}"
mycon.open constr
sql="select NUMB,NAME1,NAME2 from photo"
dim rs
set rs=mycon.execute(sql)
do while not rs.Eof
response.Write("<SCRIPT language=JavaScript> bannerAD[" & Cstr(Cint(rs("NUMB"))-1) & "]=video/" & rs("NAME2") & "; </script>")
response.Write("<SCRIPT language=JavaScript> bannerADlink[" & Cstr(Cint(rs("NUMB"))-1) & "]=video/" & rs("NAME1") & ";</script>")
rs.MoveNext
Loop
%>
????????????????