
Passing values to a sub or function using ONCLICK
I have a
VBScript function that prints the contents of an image display in
an ActiveX control (LeadTools 10). In ASP I have derived the page width and
height (using my own ActiveX control). I need to pass these two values to
the VBscript function when the user clicks a link i.e. using:
ONCLICK=printImage('12345','6789')
But this does not work (syntax error)
Any ideas?