"change" event
"change" event๏ผvalue ่ขซ็ขบ่ชไนๅพ (ๅฆ๏ผๆ enter) ๆๆ่งธ็ผ็ไบไปถใ
"input" event๏ผๅช่ฆ value ็ผ็ๆน่ฎๅฐฑๆ่งธ็ผ็ไบไปถใ
when "change" event fires
ๅ ไปถ
type
event
<input>
date, file
select
<select>
select
<input>
text
element loses focus after its value was changed, but not committed
<textarea>
(same above)
code example
Last updated
Was this helpful?