>
> Here are two methods, supposing you don't care how long it takes for
> the .load(): (the syntax needs to be checked)
>

If you actually do, you can change the myload in the last exemple by:

function myload() { $("#newsticker").empty().html($.get("test2.html",
function() { count = setTimeout(myload, 5000)})); }

That will wait for the request to complete before starting a new one.

For some reason I couldn't get the callback to work with load(), but
that's maybe just me?

Regards,
Renaud Drousies

Reply via email to