Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Activate VBscript function when link is pressed

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

Beeing quite new to VBscript,I need to activate my VBS function when a certain link on my HTML page is pressed.
I know how to write the function,but which syntax is required to activated it as described?
thanks

Long live king Moshiach !
 
You can do it like this.
[tt] <a href="#" onclick="x:window.event.returnValue=false" language="vbscript">call vbs func/sub x</a>[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top