「jQuery」on()で複数のイベントを設定するサンプル
使用例
$('.セレクト名').on({
'mouseenter': function(){ //some code},
'mouseleave': function(){// some code}
});
Coding Changes the World
使用例
$('.セレクト名').on({
'mouseenter': function(){ //some code},
'mouseleave': function(){// some code}
});