textarea的onkeydown事件不起作用,如何重新绑定呢?
<textarea name="content" id="content" style="width:800px;height:200px;" onkeydown="keyDownEvent()" ></textarea> <script type="text/javascript"> function keyDownEvent(){ alert('ok'); } </script>