a标签问题,asp初学者的提问
<a href=# click=op(2,6)>查看</a><%
Sub op(a1,a2)
Response.write(a1+a2)
Response.Write("<script language=javascript>window.alert('22'); </script>")
End sub
%>
为什么点击查看什么都没有?搞了一个下午了,没搞明白
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> </head> <body> <a href="#" onclick="op();return false;">查看op</a> </body> <% Sub op() Response.write("8") End sub %> </html>