Where is the action listener registered?

Posted by Summer_More_More_Tea on Stack Overflow See other posts from Stack Overflow or by Summer_More_More_Tea
Published on 2010-06-08T08:30:08Z Indexed on 2010/06/08 8:32 UTC
Read the original article Hit count: 201

Hi there:

I come across this problem when referring a piece of javascript code:

<a href="javascript:void(0);"><!-- other html elements --></a>

It want to register a mouse click event listener on this anchor, but I cannot find which function is registered. What's more, what does the code href="javascript:void(0);" mean?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events