gadle.arpit | 9 Feb 08:15
Picon

[dwr-users] Recursive Call

Dear All,

We had a developed a page which gets the status of users on call by making
every 1 sec(. After around 2 hours it stopped working and was throwing an
error in javascript alert box every time a ajax call was fired.

Here is the code for your reference

function liveConsole()
{
    LiveConsoleForm.liveConsole(function(ajaxResponse)
    {

        document.getElementById("liveConsoleGrid").innerHTML=ajaxResponse;
        setTimeout("liveConsole()",1000); 
    });
}

Please let me know whats going wrong and suggest possible solutions

Thanks

Arpit

--
View this message in context: http://dwr.2114559.n2.nabble.com/Recursive-Call-tp7268439p7268439.html
Sent from the DWR - Users mailing list archive at Nabble.com.


Gmane