javascript - How to detect event for button DONE pressend on a Virtual Keyboard? -


i need capture event when pressing done on virtual keyboard on opera smart tv. (if know other way event key js apart here below, please let me know.)

with following code can result key pressed on virtual keyboard (ex: a, b, c..) not event button done. window.onkeydown not fire

any idea how solve this?

    console.log(event.charcode);             console.log(event.keycode);             window.onkeydown = keydown;             function keydown() {                 alert("keydown event detected!");             } 


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -