绑定事件可以对键值对的方式添加事件
$(‘input‘).bind({ mouseover : function () { alert(‘移入‘); }, mouseout : function () { alert(‘移出‘); } });
绑定事件处理
原文:https://www.cnblogs.com/sunzhnan/p/8146275.html