SOURCE

console 命令行工具 X clear

                    
>
console
$('#a').on('click',()=>{alert('点击成功')})
$('#b').on('click',()=>{alert('点击成功')})
<div id="a" class="a">11111111</div>
<div id="b">11111111</div>
.a{
  cursor:pointer
}