• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to send a request automatically for each 5 min  RSS feed

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I need some sample code to send a request automatically for each 5 min asynchronusly to update some portion of the page.
For example updating cricket score.
how can i handle this scenario.

any reply can be appreciated,
thanks in advance
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try META refresh tag or send asynchronous request using JavaScript's setTimeInterval().
 
Author and ninkuma
Marshal
Posts: 66542
160
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct API is setInterval().
 
satish siliveri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Manish Hatwalne and Bear Bibeault for your reply.
Can you please show some code regarding this.
or else give me a link for article or tutorial

thank you,
satish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!