---简单版[调用代码,把他放哪儿,就在哪儿显示]--------
<script language="javascript" src="asdf.asp"></script>
-----asdf.asp文件----------
<%
Response.Write "document.write(""hello"");" '根据自己需要处理相关东西!
%>
------
-------------------------------------------------------------------------
---复杂版[调用代码,把他放哪儿,就在哪儿显示]--------
<script language="javascript" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20480%20640'%3E%3C/svg%3E" loading='lazy' data-lazy-src="http://1.com/skin/default/image/nopic.gif"></script>
-----asdf.asp文件----------
<!--#include file="conn.asp"-->
<%
cname=request.QueryString("cname")
turl=request.ServerVariables("URL")
sql="s elect gongsi from company where cname='"+cname+"'"
rs.open sql,connstr,1,1
do while not rs.eof
Response.Write "document.write("" <table width=100% border=0><tr bgcolor=#ECE9D8> "");"
Response.Write "document.write("" <td width=100>" & Rs("gongsi") & "</td> "");"
Response.Write "document.write("" </tr><tr height=3></tr></table> "");"
'Response.Write(gsname)
rs.movenext
loop
Response.Write "document.write("""&turl&""");"
%>
热门信息
阅读 (170)
1 ASP 微信公共平台接口实现代码阅读 (167)
2 ASP+AJAX实现分页效果[Z]阅读 (161)
3 jquery插件之DataTables 详细参数说明阅读 (151)
4 实现多条件模糊查询SQL语句阅读 (148)
5 提高IIS+ASP网站安全性的方法