苹果safari浏览器 button点击不会触发focus事件 如何解决?
解决如下:
//点击时手动focus
<button id="button" type="button"></button>
$('#button').on('focus',function(e){
$(this).addClass('active')
}).on('blur',function(e){
$(this).removeClass('active')
}).on("click",function(){
//点击时手动focus
$(this).focus()
})