javascript - What's the .apply jQuery function? -


I think there are different plugins and code, but I do not know what this function is ... jQuery Not referenced in the API!

Apply calls a function with a set of arguments. This is not part of jQuery, this core is part of Javascript. However, it is mentioned in the jQuery docs about:

Syntax:

/ Code>

calls the above function somefunction , sets this to thisObj in the scope of the function, Argument from the function of the argument as argsArray


Comments