Playground for IME

This commit is contained in:
Inez Korczynski 2012-02-02 23:22:23 +00:00
parent e174082b35
commit 9c311d0d94
Notes: Gabriel Wicke 2012-02-27 16:40:01 +00:00

28
contentEditable/ime.html Normal file
View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<script src="../modules/jquery/jquery.js"></script>
<script>
$( function() {
console.log("start");
$('textarea').bind('keypress', function(e) {
console.log('keypress', e);
});
$('textarea').bind('keydown', function(e) {
console.log(e.which, e);
});
$('textarea').bind('keyup', function(e) {
console.log($('textarea').val());
});
} );
</script>
</head>
<body>
<textarea></textarea>
</body>
</html>