mirror of
https://github.com/jquery/jquery.git
synced 2026-01-26 06:28:05 -05:00
jquery ajax: Closes #1516. load() can get a string of data (not only a hash) and it'll be a GET request.
This commit is contained in:
@@ -26,7 +26,7 @@ jQuery.fn.extend({
|
||||
params = null;
|
||||
|
||||
// Otherwise, build a param string
|
||||
} else {
|
||||
} else if( typeof params == 'object' ) {
|
||||
params = jQuery.param( params );
|
||||
type = "POST";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user