I wish to have a link which opens popup when clicked however I wish it to open a page in a new window if the user doesn\'t have JS enabled.
The following doesn\'t seem t
I think you just have the id selector wrong. Try changing $('tac-link') to $('#tac-link').
$('tac-link')
$('#tac-link')
Another approach:
$('a[target="_blank"]').click(function(e) { window.open( this.href ); e.preventDefault(); });