Is it possible to call a VBScript function from a JavaScript call, or alternately call JavaScript from a VBScript call?
Calling a VBScript function from Javascript
Your VBScript:
Function myVBFunction()
' here comes your vbscript code
End Function
Your Javascript:
function myJavascriptFunction(){
myVBFunction(); // calls the vbs function
}
window.onload = myJavascriptFunction;
Calling a Javascript function from VBScript
Function myVBFunction()
myJavascriptFunction()
End Function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With