Hi, "Not working" in what way? Does it...
...do nothing? ...raise an error? ...stop all scripts on the page? ...turn the entire page mauve? ...depress the economies of the western democracies? You get the idea, there are dozens of things "not working" could mean. ;-) -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jul 21, 8:13 am, Atanu Dey <[email protected]> wrote: > I have a script which executes periodically after each 10 seconds. You > can see that there is an ajax call which actually updates database for > me and return 1 or 0 depending of the script execution. > > The problem is, it is working cool in windows platform with firefox > 3.0.11. But not working with the same version of firefox in MAC OS. > > The Script: > > new PeriodicalExecuter(function(){ > var date = new Date(); > //console.log('setOnlineStatus.php?sid='+date.getTime()); > new Ajax.Request('setOnlineStatus.php?sid='+date.getTime(), > {method:'get', onComplete:function(transport){ > if(!parseInt(transport.responseText)) > window.location="../index.php"; > }}); > },10); > > Can anybody has any idea about this? Thanks in advance for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
