用live()进行绑定$.fn.oaSelector = function(options) { var widget = $(this); //对widget进行事件绑定 widget.live("click",function(){ alert("hello"); });}