[jQuery] Sloppy Documentation of Ajax Methods
Here are the descriptions for the Ajax methods:
load -- Loads HTML from a remote file ...
ajax -- Load a remote page ...
get -- Load a remote page...
getScript -- Load and execute a local javascript file...
post -- Load a remote page...
So, if we want arbitrary HTML we have to use "load", but if we want a
whole "page" (where is that defined?) we have to use "ajax", "get" or
"post"?
The "execute script" function (called getScript for some reason) only
works with local "files"? I believe it will work with any URI (local
or remote) returning JavaScript (assuming same origin policy of
course), and whether it came from a file isn't known to the caller.
These functions should describe the type of HTTP request they make,
and skip references to "pages" and "files".