javascript parameter passing in dynamic action handler

Posted by Sefler on Stack Overflow See other posts from Stack Overflow or by Sefler
Published on 2010-04-03T15:26:07Z Indexed on 2010/04/03 15:33 UTC
Read the original article Hit count: 298

Filed under:

I need to create several Divs dynamically, and I need to add "onmouseover" event to them. However, the JAVASCRIPT "div.onmouseover = handler" can't pass in parameters. how can I pass parameters in those dynamic event handlers?

© Stack Overflow or respective owner

Related posts about JavaScript