<%@ language="javascript" %> <html> <head> <% function jsproc(num1,num2) { Response.Write(num1*num2) } %> </head> <body> <p> 结果:<%jsproc(3,4)%> </p> </body> </html>
<%@ language="javascript" %>
<% function jsproc(num1,num2) { Response.Write(num1*num2) } %>
<%jsproc(3,4)%>