Delete Key in MooTools


/ Published in: JavaScript
Save to your folder(s)

Como la palabra delete es una palabra reservada, daba error en la detección de esa tecla cuando es pulsada.

Para detectar ese evento, hay que usar otra forma:


Copy this code and paste it in your HTML
  1. var isdel = Event.Keys['delete'];

URL: http://davidwalsh.name/listen-delete-key-mootools

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.