0 / 60 seg.

What event will be triggered when the value of a form element changes and the element loses focus?

<input type="text" id="myInput">
document.getElementById("myInput").addEventListener('_____', function(){
  console.log("The value changed");
});