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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -