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
  • 23,956
  • 33
  • 133
  • 226

0 Answers0