The onchange event occurs when the value of an element has been changed.
For radiobuttons and checkboxes, the onchange event occurs when the checked state has been changed.
The onchange event is supported in all major browsers.
The onchange attribute can be used with: <input>, <select>, and <textarea>.
Your message has been sent to W3Schools.