Get Character value from KeyCode using jQuery

Get key code and name jquery

var place = document.getElementById('place');
$(document).on('keydown', function (e) {
    var keyCode = e.keyCode || e.which
    place.innerHTML = String.fromCharCode(keyCode) + ' ' + keyCode;
    return false;
});

Get Character value from KeyCode using jQuery Get Character value from KeyCode using jQuery Reviewed by Bhaumik Patel on 8:10 PM Rating: 5