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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to