大佬教程收集整理的这篇文章主要介绍了Seaside的定期JQuery更新,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
html div onClick: ((html jQuery: '#asdf') load html: [:h|h text: 'qwer']) ; with: 'asdf'.
但这一次,我必须定期更新div.
我在另一个项目中使用了PT的perioDicalEvaluator,但是在这个我不能,我必须坚持使用JQ.
我尝试使用JQInstance的延迟:millis在我能想到的所有组合中:
onClick: (((html jQuery id: 'chattertext') delay: 1000; yourself) load html: [:h| self renderTextOn: h]) ; onClick: (((html jQuery id: 'chattertext') delay: 1000) load html: [:h| self renderTextOn: h]) ; onClick: (((html jQuery id: 'chattertext') delay: 1000; load) html: [:h| self renderTextOn: h]) and others
出于某种原因,更新是瞬时的,而不是在我需要的1000毫秒之后.
以上是大佬教程为你收集整理的Seaside的定期JQuery更新全部内容,希望文章能够帮你解决Seaside的定期JQuery更新所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。