[thelist] Calling a function in ASP from a link

Joshua Olson joshua at alphashop.net
Sun Dec 9 14:39:55 CST 2001


Adding the code to the onclick would work.

Maybe something like this:

<a href="#" onclick="return bookmarkThisPage();">blah</a>

Make sure the bookmarkThisPage function returns false.

HTH,

-joshua


----- Original Message ----- 
From: "Michael Galvin" <mpgalvin at eircom.net>
Subject: [thelist] Calling a function in ASP from a link


<snip>

: Basically, I want the link "Bookmark this job" to appear on the page, and
: when clicked, it calls the function I've written (VBScript) and *does
: nothing else*.  I'm guessing I'll have to put <a href="#"> in there
: somewhere, but how do I call a VBScript function from a link?  OnClick
: event?
: 
: Anyone?
: 
: Michael





More information about the thelist mailing list