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

Java sticky instances of class com.mysql.jdbc.Field aggregating -