How to "trigger" a click event on a specific anchor element with Javascript? preferably with jQuery -
What I want to do on an anti-element, releases a click event with jQuery preferably, causing the browser to Follows the contact. I know that my anchor selectors are right, because they are 1 coming back.
Here's what I have tried:
$ ('# awesomeLink') Click ();
But this link will not follow.
How am I doing this?
Thank you!
Why not parse the URL and send it to the link location to the user?
var url = $ ('# awesome link'). Attr ('href'); Window.location.href = url;
Comments
Post a Comment