<script type="text/javascript">
/* onKeyPressイベント発生時 */
function oKeyPress(e){
window.status="入力中・・・";
}
/* onKeyUpイベント発生時 */
function oKeyUp(e){
window.status="";
}
document.onkeypress=oKeyPress;
document.onkeyup=oKeyUp;
</script>
<form action="#">
<p>
キーが押されている間、ステータスバーにメッセージを表示します。<br>
キーを上げている時は、メッセージを表示しません。
</p>
<p>
<input type="text" size="50" />
</p>
</form>