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

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -