javascript - handle multiple event in web control -
Previously control how many events in the web control by using JavaScript for handling onstop and on the keyboard event in Texture < / P>
There is no special trick for specifying individual event handlers in an element, Define as you want:
var tArea = document.getElementById ("myTextArea"); // Define 'Open Paste' Handler - Note that Opera does not support `OnPash` Tieria.ONPist = function (avt) {} // Define` onkeyup` handler tArea.onkeyup = function (evt) { }
If you want to assign multiple functions to the same event, then you have to use it for IE and other browsers.
Comments
Post a Comment