Thursday, July 30, 2009

[jQuery] What is the point of the "status" param to the "get" callback, if it's always "success"

I'm just reading some basic JQuery information, and I noticed that the
callback used by "get" always sends two parameters, the first being
the relevant data, and the second is a "status" value, which is always
the string "success". Looking at code samples on the web, I never saw
anyone bother to declare or use the second parameter. What is the
point of sending data that is never used?

No comments: