Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Scripting

Status
Not open for further replies.

AgentM

MIS
Jun 6, 2001
387
US
Can somebody guide me to some Remote Scripting tutorials?

I am trying to get this to work. The code gives errors when loading the .html page

Client page (.html):
<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot;>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY><SCRIPT language=&quot;VBScript&quot; src=&quot;../_ScriptLibrary/Rs.htm&quot;></SCRIPT>

<SCRIPT language=&quot;VBScript&quot;> RSEnableRemoteScripting(&quot;../_ScriptLibrary&quot;)</SCRIPT>

<FORM name=&quot;myform&quot;>Name: <INPUT size=&quot;20&quot; type=&quot;text&quot; name=&quot;txtSname&quot; onchange=&quot;CalSelDetails(document.myform.txtSname.text)&quot;><BR>
Id: <INPUT size=&quot;20&quot; type=&quot;text&quot; name=&quot;txtSid&quot;> <BR>
Department: <INPUT size=&quot;20&quot; type=&quot;text&quot; name=&quot;txtSdept&quot;>

<SCRIPT language=&quot;VBScript&quot;>
sub CalSelDetails(mydata)
set co= RSExecute(&quot;GetSel.asp&quot;, &quot;Condb&quot;, mydata)
document.myform.txtSname.value= co.return_value
end sub

</SCRIPT>
</FORM>
</BODY>
</HTML>


GetSel.asp page

<%@ LANGUAGE=VBSCRIPT %>
<% RSDispatch %>

<!--#INCLUDE FILE=&quot;./_ScriptLibrary/rs.asp&quot;-->
<SCRIPT RUNAT=SERVER Language=vbscript>
function Description()
{
this.Conndb = Conndb;

}
public_description = new Description();


function Conndb()
{
return new Date;
}


</SCRIPT>


*********
Any help highly appreciated
Rosh


 
Hi,

There is some helpful information within the FAQ section...

Computergeek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top