.escape(callback function);
.removeEscape();
| Arguments | Type | Description |
|---|---|---|
| callback | function | After press esc button than execute callback function |
<script>
$(document).ready(function() {
$('#header').escape(function() {
$('#title').css('background-color', 'red');
});
$('#header').removeEscape();
});
</script>