I'm having trouble catching events from an ActiveX-control on my webpage. Im using the following code to catch it.
<SCRIPT LANGUAGE=vbscript FOR=object1 EVENT=SelChange>
<!--
MsgBox("test"
//-->
</SCRIPT>
[/blue]
It works perfectly fine when I use javascript (LANGUAGE=javascript) but when I replace that with vbscript, nothing happens, as if the event never triggered.
If I remove the FOR and EVENT parameters the script is executed, so the vbscript interpreter seems to work fine.
Btw, the object is a MS MonthView-control.
Would really appreciate help on this.
/Tomas
<SCRIPT LANGUAGE=vbscript FOR=object1 EVENT=SelChange>
<!--
MsgBox("test"
//-->
</SCRIPT>
[/blue]
It works perfectly fine when I use javascript (LANGUAGE=javascript) but when I replace that with vbscript, nothing happens, as if the event never triggered.
If I remove the FOR and EVENT parameters the script is executed, so the vbscript interpreter seems to work fine.
Btw, the object is a MS MonthView-control.
Would really appreciate help on this.
/Tomas