Can someone please help with converting this code to plain JS:
$(document).ready(function() {
$("textarea").bind("keydown", function(event) {
var textarea = $(this).get(0);
//further will need only textarea and event vars
}
});
I don't care about cross browser compatibility as long as it works in current FF and Chrome.