What does firebug say ?


----- Original Message ----- 
From: "Mona Remlawi" <mona.reml...@gmail.com>
To: <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, July 21, 2009 10:37 AM
Subject: [Proto-Scripty] Re: Ajax call is not working in MAC(Firefox)



Not sure if this is related (haven't worked on MAC OS), but I would
double check the use of '../' for relative uri.
Different operating systems might interpret this differently.
You might wanna consider absolute uri's instead : /appcontext/index.php

cheers

--
mona

On Tue, Jul 21, 2009 at 9: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