$("p").bind("mouseenter mouseleave", function(e){ $(this).toggleClass("over"); });
$("#unbind").click(function () { $("#theone").unbind('click', aClick); });
$("button:first").trigger('click');
$("input").triggerHandler("focus");
$("div").one("click", function(){ });
jQuery 1.2的事件支持命名空间,
DEMO:
运行效果如下: