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

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

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -