ASP.NET定时器控制的客户端Tick事件或等效的jQuery [英] ASP.NET Timer Control's client side Tick event or jQuery equivalent
本文介绍了ASP.NET定时器控制的客户端Tick事件或等效的jQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要寻找ASP.NET定时器控制或等值的jQuery插件定时器的客户端的Tick事件。你的建议是多AP preciated。谢谢
I am looking for client-side Tick event of ASP.NET Timer control or jQuery equivalent timer plugin. Your suggestion is much appreciated. Thanks
推荐答案
我发现了这个临时的解决方案,但我不知道这是否是一个很好的方法还是不行。请让我知道如果您有任何建议。谢谢!
I found a temporary solution for this but I am not sure whether this is a good way or not. Please let me know if you have any suggestion. Thanks !
function pageLoad(){
var timer = $find('<%= Timer1.ClientID %>');
timer._doPostback = function(){
// Do something in client side before postback
__doPostBack(this.get_uniqueID(),'');
};
}
这篇关于ASP.NET定时器控制的客户端Tick事件或等效的jQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文