[jQuery] trigger('click') on anchor tag not working like i thought

[jQuery] trigger('click') on anchor tag not working like i thought


I have this code:
//window.open($('#redirect_link').attr('href'), 'new_window');
$('#redirect_link').trigger('click');
This does nothing and the link tag looks like:
http://www.example.com test
However, if i do the window.open way it works fine but gets blocked as
popup. shouldn't the trigger.('click') perform the link in a new window?
is thier another way to do this without having a popup blocker blocking me.
--
View this message in context: http://www.nabble.com/trigger%28%27click%27%29-on-anchor-tag-not-working-like-i-thought-tp15593698s27240p15593698.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.