It seems like "status" is a reserved word (so it does not give you the HTMLObject you wanted, but something internal that cannot be reached), try to use some other name. ☆PhistucK
On Thu, Jul 9, 2009 at 09:37, Alessandro <[email protected]> wrote: > > Hello everybody, > I am using Chromium on Linux (build 20134). > Nearly everything works for me (including Flash), but I've recently > written a page that works like a charm in Firefox but not in Chromium. > The page is at http://www.linuxclubradio.tk/picostreamer/?setlang=en > > The matter is that every 5 seconds the script launch a function that > contains this: > > status = document.getElementById(ainfo[0]+"-status"); // ainfo[0] = > linuxclubradio > if (status.innerHTML != ainfo[2]) > { > window.location.reload(); > } > > and, a little under, of course: > > <span id="linuxclubradio-status"> > > the javascript reloads the page if the AJAX request found that the > status of one of the webradios has changed. > The matter is that the page continues to reload! > Doing some debugging I found out that "status" is declared and it is > an HTML object, but status.innerHTML is undefined! > I repeat: on FF everything works! > > Thanks for answers > Alessandro > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
