<分区>
Possible Duplicate:
For the function (function($){})(), I’ve seen it with the word jQuery in it, why is that?
有人可以解释一下 jQuery 源文件中使用的以下语法吗?我正在学习 jQuery 并尝试着手编写 jquery.ui.widget。
(function ($)
{
... code ...
} (jQuery));
虽然我使用的是 jQuery,但我猜这实际上只是一个 JavaScript 问题。
谢谢, 克雷格