jQuery ajax() URL is required? -


the ajax function's header is: jquery.ajax( url [, settings ] )

with documentation saying url required, why in examples 'settings' supplied?

$.ajax({   type: "get",   url: "test.js",   datatype: "script" }); 

right below that, you'll see other syntax $.ajax, settings object passed, including url.


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -