JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/ui-lightness/jquery-ui.css">
<form>
    Type ESC in the field: <input />
</form>

CSS

.someClass {
    background:yellow;
}

JavaScript

$('input').live('keyup', function(e) {
    if (e.which == '27') {
        alert(e.which);
    }
});