当前位置:编程学习 > asp >>

Remote Script问题已经解决,帖出来大家共享!!!

在batman基础上改进的,谢谢batman大哥 :-).用的是access2000自带的数据库---nwind.mdb, odbc---NW.
index.html
<HTML>
<HEAD>
<TITLE>RS技术的实现例子</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
td.head {background-color:#3366cc;color:#ffffff}
</style>
</HEAD>
<BODY bgColor=LightGoldenrodYellow>
<script language="JavaScript" src="http://3344net/_ScriptLibrary/rs.htm"></script>
<script language="JavaScript">
RSEnableRemoteScripting("http://3344net/_ScriptLibrary");
</script>
<h1>客户信息</h1>
<hr>
<form name="MyForm">
     <p><input type="text" name="state" size="20"> <input type=button value="提     交" name=btnExecute onclick="execAsynch(state.value)"></p>
</form>
<div id=num></div>
<div id=change></div>
<hr>
<SCRIPT LANGUAGE="JScript">
    var serverURL = "http://3344net";
        var pageURL     = "/rs/Data.asp";

    function refreshPage(co)
    {
        if (co.status != 0) {
           alert("发生异常错误 " +    
              message);
       }
       strText = co.return_value.split("|");    
补充:asp教程,远程脚本
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,