Input Events
onblur - When a user leaves an input field -- Khi người dùng không rồi khỏi ô nhập liệuonchange - When a user changes the content of an input field - Khi người dùng thay đổi nội dung trong ô nhập liệu
onchange - When a user selects a dropdown value
onfocus - When an input field gets focus
onselect - When input text is selected
onsubmit - When a user clicks the submit button
onreset - When a user clicks the reset button
onkeydown - When a user is pressing/holding down a key
onkeypress - When a user is pressing/holding down a key
onkeyup - When the user releases a key
onkeyup - When the user releases a key
onkeydown vs onkeyup - Both
Không có nhận xét nào:
Đăng nhận xét