adding a click and a keypress to a div

by Joseph Tate

HTML

<div id="clickety" tabindex="0">UM WHATEVER</div>

JavaScript

$('#clickety').on('click', function () {
    alert('CLICK');
});

$('#clickety').on('keypress', function () {
    alert('yes yes ya\'ll and it don\'t stop');
});