3

Possible Duplicate:
jQuery: What does (function($) {})(jQuery); mean?

I am using the Telerik MVC controls. In the telerik.examples.min.js file they have the following:

$(function () {
   // other code here
})(jQuery);

Has this only got to do with global variables? If so, why are global variables bad?

What is (jQuery)?

Community
  • 1
  • 1
Brendan Vogt
  • 25,678
  • 37
  • 146
  • 234

0 Answers0