HOWTO: Call JavaScript function from inside a VBScript Sub 
Author Message
 HOWTO: Call JavaScript function from inside a VBScript Sub

I need to be able to call a JavaScript function from inside a VBScript
subroutine.  Can this be done?

Thanks,

Matt Thalman



Sun, 30 Mar 2003 03:00:00 GMT  
 HOWTO: Call JavaScript function from inside a VBScript Sub
<job>
  <script language=javascript>
    function JSFunction() {
      return "Hi from JavaScript";
    }
  </script>
  <script language=vbscript>
    WScript.Echo JSFunction()
  </script>
</job>

=-=-=
Steve
-=-=-


Quote:
> I need to be able to call a JavaScript function from inside a VBScript
> subroutine.  Can this be done?

> Thanks,

> Matt Thalman



Sun, 30 Mar 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Calling a sub or function using a variable through another sub or function

2. Local function/sub inside function/sub

3. HOWTO: Call JavaScript functions from a Java Applet (IE Only)

4. calling a Javascript function from and asp Sub Routine

5. calling comobjects from a function written in vbscript inside asp

6. How to call VBScript functions inside WebBrowser control?

7. Calling a MS-DOS Command inside a Sub

8. vbscript function similar to javascript escape/unescape function?

9. Call javascript function from vbscript and return value...

10. How do you call javascript function from vbscript?

11. Calling javascript function from vbscript

12. How do I call a VBScript-function from JavaScript in ASP (both server-side)

 

 
Powered by phpBB® Forum Software