how to code client-side call to webservice that calls automatically every few seconds

Posted by Bob Jones on Stack Overflow See other posts from Stack Overflow or by Bob Jones
Published on 2010-05-16T22:03:00Z Indexed on 2010/05/16 22:10 UTC
Read the original article Hit count: 261

I have a webservice that I want to call from the browser every few seconds to see if there are any notification messages in the database that should be displayed on the screen. We have the JSON code working to display the messages in a JavaScript function after an Async Postback, but this only executes after a page turn. I want it to execute every 10-15 seconds as well. A code sample would be very helpful.

© Stack Overflow or respective owner

Related posts about webservice

Related posts about JSON