代码
//销毁hover事件
$('#sx').click(function(){
$(this).css('background','#e6ff10');
$(this).unbind('mouseenter').unbind('mouseleave');
});
//添加hover事件
$('#sx').bind({mouseenter: function(e){
$(this).css('background','#c51616');
}, mouseleave: function(e) {
$(this).css('background','#000');
},click:function(e){
}
});