>It should be possible to do from javascript - something like
>
>loElement.onKeyPress=function () ...
>
>and you can call that, probably even in a method to which loElement is passed as a parameter, not sure (distracted again by other stuff, so I'm out of the html-css-js loop for a few months now).
I don't think it is. I have read somewhere that div does not support a javascript related command. I might have tried with a non proper casing however. I'll try again. IAC, I have found a way to work around that which is much simpler.