Roy Kolak schrieb:
> Hello,
> 
> I have a question...
> 
> I am looking for a way to refresh some content of a page every 3 seconds. 
> Basically, I'm looking for a jquery way to do this:
> 
> setInterval("call_refreshSentence()", 3000 ); 
> 
> 
> Thanks,
> 
> Roy Kolak

Hey Roy, theres not much more to do than you already have proposed... :-)

Try:

var refreshId = setInterval(function() {
     $('#some-content').load('/path/to/your.php');
}, 3000);

You can use refreshId to clear the interval later if required...


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to