setInterval(function(){
doSomething();
}, 10000);
Where 10000 is the number of milliseconds between polls, and doSomething() is whatever you intend to do.
On Tuesday, August 23, 2011 4:32:06 AM UTC-4, helloise wrote:
-- On Tuesday, August 23, 2011 4:32:06 AM UTC-4, helloise wrote:
thank you i am buzy with it now..i actually have to put it into practice now, and have one question:what if i dont have a submit button or something to envoke the JS/ajax?on my website page i have to apply it to refresh only one data field to refresh ie: no of messages in your inboxthere are no submit buttons or textboxes or anything..it only contains data from my database tablesso how would i do this then? if you can point me in the right direction/give advise please?thank you very much
You received this message because you are subscribed to the Google Groups "JavaScript Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/javascript-information/-/GOJJi3BMJtQJ.
To post to this group, send email to javascript-information@googlegroups.com.
To unsubscribe from this group, send email to javascript-information+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javascript-information?hl=en.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.