try changing "date" to "d" or something in "var date=.." incase FF on MAC 
might reserve the word or mistake the case of it for "Date" and 
re-variablise the class

Alex Mcauley
Developer
The Vacancy Market LTD
http://www.thevacancymarket.com


----- Original Message ----- 
From: "Atanu Dey" <mratanu...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, July 21, 2009 11:05 AM
Subject: [Proto-Scripty] Re: Ajax call is not working in MAC(Firefox)



Thanks a lot for your replies. I was not on my machine so got late to
reply here....

You can see that there is a commented code:

//console.log('setOnlineStatus.php?sid='+date.getTime());

I cannot see that log and also there is no ajax call taking place.
there is no javascript error found in the firebug.

what I can see that it is not getting inside the function for
periodical executer...

not sure why but, this is working properly in windows with the same
version of firefox...

On Jul 21, 2:57 pm, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:
> LOL @ western democracies !!!!!
>
> Wish my scripts could do that
> ;)
>
> Alex Mcauley
> Developer
> The Vacancy Market LTDhttp://www.thevacancymarket.com
>
> ----- Original Message -----
> From: "T.J. Crowder" <t...@crowdersoftware.com>
> To: "Prototype & script.aculo.us" 
> <prototype-scriptaculous@googlegroups.com>
> Sent: Tuesday, July 21, 2009 10:51 AM
> Subject: [Proto-Scripty] Re: Ajax call is not working in MAC(Firefox)
>
> 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 <mratanu...@gmail.com> 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 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