AJAX刷新!!把计时器放在哪里? [英] AJAX refresh!! where to put the timer?

查看:95
本文介绍了AJAX刷新!!把计时器放在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我得到的代码效果很好,现在我想让它每4秒刷新一次,我可以把计时器做到这一点吗?


i真的需要帮助! !


thanx !!

Hello , i got this code that works great , now i want to have it refresh every 4 seconds , where can i put the timer to do that?

i realy need help!!

thanx!!


< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 <跨度类= codeDivider> | <跨度类= codeLink 的onclick = 自动换行(在此);>裹 | 行号

推荐答案

我修复了它比x1 !!!! :)
i fixed it thanx1!!!! :)


虽然我知道你是怎么做的,但你能说出你是如何解决它的吗?它可能会帮助遇到此线程的其他人寻找类似问题的解决方案。
Though I have an idea how you did, can you post how you solved it? It may help someone else who comes across this thread looking for a solution to a similar problem.


真正的:),它确实解决了一件事来刷新内容,但它没有解决我需要的所有东西,


i只需将setTimeout放在正确的位置,它就会刷新,但它正在刷新并带我一直到第一页! (即时通过mysql数据库分页使用它)


我做了什么:

The true :) ,it did solve one thing to refresh the content ,but it didnt solve the all thing i needed,

i just put the setTimeout in the right position ,and it did refresh , but it was doing refresh and bring me all the time to the first page!! (im using it with pagination from mysql database)

what i did:

<跨度类= codeLink 的onclick = 模糊(此,this.parentNode.parentNode,的getChildren(本),TRUE);>展开 <跨度类= codeDivider> | 选择 | 换行 | 行号


这篇关于AJAX刷新!!把计时器放在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆