Is it possible to call a VBScript function from a JavaScript call, or alternately call JavaScript from a VBScript call?
+3
A:
Yes, if your main script is a Windows Script File (WSF).
WSF files can include other script files and execute code from multiple engines.
Patrick Cuff
2009-01-21 17:01:37
A:
This is also possible within HTA's by specifying the language when the function is called, like this:
<input id="renameIcon" name="renameIcon" type="image" src="images/rename.ico" onclick=renameUser() onmouseover='vbscript: if showStat <> "busy" Then call showStatus(button4.title)' onmouseout='vbscript: if showStat <> "busy" Then call showStatus("")'>
see here for a more in depth example: http://docs.google.com/Doc?id=ajh85hfcbjj6_457g7v6fgfh
mrTomahawk
2009-01-26 03:39:59