mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-26 19:56:49 +00:00
28 lines
680 B
HTML
28 lines
680 B
HTML
<!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> |