Take the 2-minute tour ×

I'm needing help to debug a code. If we have a code like this one:

<a href="javascript:void(0)">My link</a>

How could I know what javascript file manipulates the click on this element? I'm trying to search at the js available files, but I couldn't find what file manipulates the click. This process, to search manually, is very annoying and slow.

How could I know what js (the file, the line) manipulates codes like this one?

share|improve this question
They are using javascript:void(0) to stop the link from going anywhere. It isn't anything that is user-defined in a js file –  Jeff Shaver Mar 19 '13 at 18:08
I dont think you can get that info with just this piece. You need to take into account the other relevant DOM elements as well –  defau1t Mar 19 '13 at 18:09
add comment


Your Answer



Browse other questions tagged or ask your own question.