1.asp 点击文字 弹出提示 求代码
asp 点击文字 弹出提示 求代码
完全可以做到: demo.asp内容如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org//xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function check(abc,点点播url)
{
if (abc<=0)
alert("你没有权限访问!")
else
window.location.href=url;
}
</script>
</head>
<body>
<%
dim sx,播源改进macd指标源码surl
sabc = request("abc")
surl = "aaa/bbb.Asp?P_UserId=" & request("P_UserId")
%>
<a href="#" onclick="check(<%=sabc%>,'<%=surl%>');">查看<%=rs_Pic.recordcount%>人</a>
</body>
</html>