dispatching click event to a link. it doesn't work.

M

Martin Honnen

HopfZ said:
I tried the javascript code [1] dispatching click event to a link in
Firefox(2.0.0.4), it does not work, it does trigger onclick handlers
but doesn't trigger browser default action, that is, opening the link.
it seems there is nothing wrong in the code.
maybe it's bug (or feature).

It is a security feature that only the onclick handler is being called
but the link href is not being followed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top