|
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 |
|
Administrator
|
Seriously, you need to provide a lot more detail than just saying
that some error is thrown, to get some help ;-) Your code seems fine. Use Firebug, set a breakpoint in your JavaScript code and see what error is thrown. Inspect logs on the server. Etc. Best regards Mike Wilson gadle.arpit wrote: > 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 |
|
Yes, I agree with Mike.
Our support page has instructions on how to ask questions and troubleshooting steps to take before you do: http://directwebremoting.org/dwr/support/index.html Before sending a message to the list please make sure you:
http://directwebremoting.org/dwr/support/common_problems.html On 02/09/2012 01:52 AM, Mike Wilson wrote: Seriously, you need to provide a lot more detail than just saying that some error is thrown, to get some help ;-) Your code seems fine. Use Firebug, set a breakpoint in your JavaScript code and see what error is thrown. Inspect logs on the server. Etc. Best regards Mike Wilson gadle.arpit wrote: |
| Powered by Nabble | See how NAML generates this page |
