What does !function ($) { $(function(){ }) }(window.jQuery) do?
Lets explain by Breaking up the code function () { }() Or often written as (function () { })() Is a self-invoking anonymous function, also known as Immediately-Invoked FuncÂtion ExpresÂsions (IIFEs). Which executes the anonymous function inline immediately. Read more about this at Explain the encapsulated anonymous function syntax. Anonymous functions are a powerful feature … Read more