[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-11 Thread rickoshay
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.

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-10 Thread Nick Fitzsimons
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

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-10 Thread Ricardo
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

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-09 Thread 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 browser security feature. (Us