I created a stock ticker function and should call it every 2 minutes.
I managed to do this with the javascript setInterval function, but the problem is the first call, which it waits 2 minutes before the function call, while I need to call the first request right away.
function CallFunction() { setInterval("GetFeed()", 2000); }
Dkong source share