Alex, what does success() return if getStatus() returns 0 in case of error?
Looks like success() returns TRUE all the time as foolged said. On Jul 16, 7:37 am, "Alex McAuley" <[email protected]> wrote: > as it states....... > > Return !status (NOT STATUS) || (OR) status greater than or equal to 200 > (TRUE|FALSE) && status LESS THAN 300 > > as i said again it returns a true false > > > > ----- Original Message ----- > From: "foolged" <[email protected]> > To: "Prototype & script.aculo.us" <[email protected]> > Sent: Thursday, July 16, 2009 10:42 AM > Subject: [Proto-Scripty] Re: checked !status in line 1496? > > (prototype-1.6.1.RC3) > > > Hi All > > You do not understand my question. > > I asked, not what is returned. > > I asked what is checked! status? > > > IMHO rightly so. > > return (status> = 200 & & status <300); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
