Tuesday, February 26, 2008

[ajaxpro] Ajax Script Having problems with setInterval cancelInterval

When I was testing out javascript polling methods using setInterval
and cancelInterval, I kept getting the error:

this.onTimeout is not a function
line: var r = this.onTimeout(this.duration, this);

Could this be solved by a null check or is there a deeper problem here?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.

To post to this group, send email to ajaxpro@googlegroups.com
To unsubscribe from this group, send email to ajaxpro-unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/

The open source project is now located at

http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---

No comments: