[thelist] Mixing Javascript with VB

Rob Smith rob.smith at THERMON.com
Wed Jan 8 14:30:01 CST 2003


Hi list,

I know I've asked a similar question about this in the past but I wanted to
know if this approach is feasible:

<%
    function logit()
       'open DB connection
	 'report activity
	 'close DB connection
    end function
%>

<a href="link.pdf" onClick="<%logit()%>">Here's a link</a>

The other long way around this is to link to a hidden page that logs, then
redirects to document. I want to avoid that.

Thanks in advance,

Rob.Smith



More information about the thelist mailing list