求助啊。搞不清this是什么。
javascript吧
全部回复
仅看楼主
level 8
zkerika 楼主
var $ = window.haha = function(selector, context) {
return new $.fn.init(selector, context);
};
$.fn = $.prototype = {
constructor : $
};
$.fn.init = function(selector, context) {
context = context || document;
if (!selector) return this;
//这个this是什么?
};
2012年09月19日 08点09分 1
1