Key events

Testing key events, especially with Android Chrome

by haba713

HTML

<script src="https://rawgit.com/eu81273/jsfiddle-console/master/console.js"></script>
<input type="text" />

JavaScript

$(document).ready(function() {
  $(document).keyup(function(e){
    e = e.originalEvent == undefined ? e : e.originalEvent;
    console.log(e.key);
  })
})