首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AjaxPro和OnTimeOut错误

AjaxPro和OnTimeOut错误
EN

Stack Overflow用户
提问于 2009-06-25 21:11:24
回答 2查看 1.7K关注 0票数 0

我的AjaxPro项目出现以下错误:

代码语言:javascript
复制
Error: this.onTimeout is not a function
Source: http://localhost:3405/ajaxpro/core.ashx
Line: 407

我知道这与AjaxPro的发布有关,但是你们有没有不包含这个错误的版本?或者我该如何纠正它呢?我已经从AjaxPro.info下载了最新版本,但没有任何运气。

EN

回答 2

Stack Overflow用户

发布于 2011-12-01 17:28:06

请使用异步调用,就像JavaScript中那样:

代码语言:javascript
复制
function getServerTime()
{
  test_Default8.GetServerTime(getServerTime_callback);  // asynchronous call
}

// This method will be called after the method has been executed
// and the result has been sent to the client.

function getServerTime_callback(res)
{
  alert(res.value);
}

这将解决您的问题。

票数 1
EN

Stack Overflow用户

发布于 2009-08-12 11:53:25

你可以试试这个:http://groups.google.sc/group/ajaxpro/browse_thread/thread/da617d3dc31d65cb

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1046293

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档