View Single Post
Old 04-24-2007   #1 (permalink)
LXNDR
Registered User
 
Join Date: Apr 2007
Posts: 1

Sending Javascript to VBScript... impossible?

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.
LXNDR is offline