Nhờ Perfection kills, chúng ta có thể sử dụng JavaScript sau để phát hiện hỗ trợ sự kiện: function hasEvent(ev) {
var elem = document.createElement('a'),
type = 'on' + ev,
supported =
Vài phút trước đây, tôi đã trả lời câu hỏi: What is the difference between focusin/focusout vs focus/blur in jQuery? Câu trả lời là: Câu trả lời ngắn: focusin & thinsp; & thinsp; & thinsp; bong bóng,