What about status's that are zero ? (some browsers report 0 as offline 
server)

..................

Thats why its in there



----- Original Message ----- 
From: "dmitrymos" <dmitry...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Thursday, July 16, 2009 1:52 PM
Subject: [Proto-Scripty] Re: checked !status in line 1496? 
(prototype-1.6.1.RC3)



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" <webmas...@thecarmarketplace.com>
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" <fool...@gmail.com>
> To: "Prototype & script.aculo.us" 
> <prototype-scriptaculous@googlegroups.com>
> 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 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