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
You simply missed the # indicating it's an id and not a node name.
$('#tac-link')
PS - I wouldn't recommend using eval, why not just store all the page variables in an object?
eval
var pages = {}; function popUp( url ) { var id = +new Date; pages[id] = window.open( url ); }