【发布时间】:2012-06-24 04:26:06
【问题描述】:
我正在尝试使用以下内容扩展 jQuery:
$.fn.extend({
initCore: $.fn.init,
init: function (selector, context, rootjQuery) {
return $.fn.initCore(selector, context, rootjQuery);
}
}),
但是,它似乎无法正常工作,并且创建简单的东西(例如点击警报)会产生错误。谁能发现问题?
提前致谢!
【问题讨论】:
标签: javascript jquery