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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top