Hi All, can anybody tell me what it is I'm doing wrong. I've tried everything (to my knowledge) and even this implest example does not work. Can anybody spot the not:
<HTML>
<HEAD>
<TITLE>SIMPLE CLIENT</TITLE>
</HEAD>
<BODY>
<script language="JavaScript" src="../_ScriptLibrary/rs.htm"></script>
<script language="JavaScript">RSEnableRemoteScripting("../_ScriptLIbrary"
;</script>
<h2>Simple Remote Scripting Example</h2>
<br>
The following buttons invoke remote scripting calls to an ASP server.
<br>
<form>
<br><br><input type="button" name="tester" value="Click Me" onclick="CallFunc()">
<SCRIPT LANGUAGE="VBScript">
dim rsPage, ServerPage, aspObject, MyValue
ServerPage = "simple.asp"
function CallFunc
alert("Client Function Started"
'set rsPage = RSGetASPObject(ServerPage)
'MyValue = rsPage.tester()
set aspObject = RSExecute(Serverpage, "tester"
MyValue = aspObject.return_value
alert(MyValue)
end function
</SCRIPT>
</form>
</BODY>
</HTML>
<%@ Language=JavaScript %>
<% RSDispatch %>
#INCLUDE FILE="../_ScriptLibrary/rs.asp"
<script language="JavaScript">
var public_description = new Description();
function Description()
{
this.tester = tester;
}
function tester()
{
return "Server Function Called"
}
</script>
<HTML>
<HEAD>
<TITLE>SIMPLE CLIENT</TITLE>
</HEAD>
<BODY>
<script language="JavaScript" src="../_ScriptLibrary/rs.htm"></script>
<script language="JavaScript">RSEnableRemoteScripting("../_ScriptLIbrary"
<h2>Simple Remote Scripting Example</h2>
<br>
The following buttons invoke remote scripting calls to an ASP server.
<br>
<form>
<br><br><input type="button" name="tester" value="Click Me" onclick="CallFunc()">
<SCRIPT LANGUAGE="VBScript">
dim rsPage, ServerPage, aspObject, MyValue
ServerPage = "simple.asp"
function CallFunc
alert("Client Function Started"
'set rsPage = RSGetASPObject(ServerPage)
'MyValue = rsPage.tester()
set aspObject = RSExecute(Serverpage, "tester"
MyValue = aspObject.return_value
alert(MyValue)
end function
</SCRIPT>
</form>
</BODY>
</HTML>
<%@ Language=JavaScript %>
<% RSDispatch %>
#INCLUDE FILE="../_ScriptLibrary/rs.asp"
<script language="JavaScript">
var public_description = new Description();
function Description()
{
this.tester = tester;
}
function tester()
{
return "Server Function Called"
}
</script>