jQuery: what is being extended here? -
$.ajax($.extend(true, {...
can explain code doing?
yes. from: http://docs.jquery.com/utilities/jquery.extend
extend 1 object 1 or more others, returning modified object. if no target specified, jquery namespace extended. can useful plugin authors wishing add new methods jquery.
keep in mind target object modified, , returned extend().
if boolean true specified first argument, jquery performs deep copy, recursively copying objects finds. otherwise, copy share structure original object(s). undefined properties not copied. however, properties inherited object's prototype copied over.
Comments
Post a Comment