Could someone please help me understand what is going on here?  Note
that I want the event to fire regardless of where focus is.

The following works fine on IE6, IE7, and chrome. Not working on ff

<script src="prototype.js" type="text/javascript" ></script>
<script type="text/javascript">
Event.observe(window, 'load',
        Event.observe(document.body, 'keydown', myEventHandler);
function myEventHandler(evt) {
<body >
<input type="text" /><br><br>

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to