V
victor.buga
Hi,
Could somebody please guide me how to retrieve the subroutine that's on
the server, and using javascript tell the server to invoke that
subroutine.
Everything is in the same ".asp" page.
=============================================================================
<%
Sub DoSomethingOnServer
'do something on server
End Sub
%>
<html>
<head>
<script language=javascript>
function CheckForm(myForm, action)
{
DoSomethingOnServer
}
</script>
</head>
</html>
==============================================================================
Is this possible at all ?
If so, how? Ive read some material on XmlHttpObject but nowhere it
shows how to invoke this method, especially if you have to mix
Javascript and VBScript.
Responses are greatly appreciated.
Thanks,
Victor.
Could somebody please guide me how to retrieve the subroutine that's on
the server, and using javascript tell the server to invoke that
subroutine.
Everything is in the same ".asp" page.
=============================================================================
<%
Sub DoSomethingOnServer
'do something on server
End Sub
%>
<html>
<head>
<script language=javascript>
function CheckForm(myForm, action)
{
DoSomethingOnServer
}
</script>
</head>
</html>
==============================================================================
Is this possible at all ?
If so, how? Ive read some material on XmlHttpObject but nowhere it
shows how to invoke this method, especially if you have to mix
Javascript and VBScript.
Responses are greatly appreciated.
Thanks,
Victor.