You did not specify: "
" of what element? Anyway, you did not provide any code sample, so what would you expect? Chances are, you rather need to handle a different event,
event certainly works, no doubt. I don't know how exactly could you screw up it, but it might happen.