1.

Why do we use onabort event in JavaScript?

Answer»

The oninput event occurs when a value is included in the input box. This is how we can set the oninput event: 

<input TYPE="text" id="display" oninput="display()">Above, the function display() is called when a user BEGINS adding value in the textbox: function display() {     VAR a = document.getElementById("display").value;     document.write("Typed: " + a); }


Discussion

No Comment Found