Is it possible to call a VBScript function from a JavaScript call, or alternately call JavaScript from a VBScript call?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Yes, if your main script is a Windows Script File (WSF).
WSF files can include other script files and execute code from multiple engines.
This is also possible within HTA's by specifying the language when the function is called, like this:
see here for a more in depth example: http://docs.google.com/Doc?id=ajh85hfcbjj6_457g7v6fgfh
Calling a VBScript function from Javascript
Your VBScript:
Your Javascript:
Calling a Javascript function from VBScript