Might be better off just listing the jquery.ajax equivalents and say
"see ajax" (in keeping with DRY principles). Shawn has a good idea
with ajax-only but sticking to just "get" and "post" is a good middle
ground.
2009/8/10 Shawn :
>
> ALL the functions (load, get, post, etc) are wrappers for the $.ajax()
> function. I only use $.ajax() now and tweak it to meet my needs... Makes
> for less confusion.
>
> Ajax by default will only load files that are in the same domain as the
> calling page. This is a brow
I see your point, it's completely inconsistent. It's a wiki, anyone
can fix that. How about this?
jQuery.ajax()
Start an HTTP request with custom parameters
.load()
Load HTML from an URL and insert into the selected element(s)
jQuery.get()
Load data using an HTTP GET request
jQuery.getJSON()
Load
ALL the functions (load, get, post, etc) are wrappers for the $.ajax()
function. I only use $.ajax() now and tweak it to meet my needs...
Makes for less confusion.
Ajax by default will only load files that are in the same domain as the
calling page. This is a browser security feature. (Us
4 matches
Mail list logo