# Sending Javascript to VBScript... impossible?

**URL:** <https://forum.kirupa.com/t/sending-javascript-to-vbscript-impossible/223575>\
**Category:** programming\
**Created:** [April 24, 2007, 1:11am UTC](https://forum.kirupa.com/t/sending-javascript-to-vbscript-impossible/223575 "2007-04-24T01:11:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LXNDR](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@LXNDR](https://forum.kirupa.com/u/LXNDR)\
**Post date:** [April 24, 2007, 1:11am UTC](https://forum.kirupa.com/t/sending-javascript-to-vbscript-impossible/223575/1 "2007-04-24T01:11:27Z")

</div>

I have remarkable javascript application that runs excellently on Client-Side, however when all is said and done, I cannot figure out how to send the javascript user outputs to the server! Does anyone have a brilliant idea on how to integrate javascript with VBScript so that java outputs to VBScript?

Essentially, I am trying to do this but it does not work!

\<html\>  
\<SCRIPT LANGUAGE=“JavaScript”\>  
\<!–  
function jsFunction() {  
vbFunction();  
}  
// --\>  
\</SCRIPT\>

\<SCRIPT LANGUAGE=“VBScript”\>  
\<!–  
Sub vbFunction  
Response.Write(“Yea! IT WORKS!”)  
End Sub  
// --\>  
\</SCRIPT\>

\<p\>\<a href=javascript:history.go(0) onclick=“jsFunction()”\>This\</a\>\</p\>  
\</html\>

Is there something inherently flawed with my script or logic???

Cheers.
