Returning false on link click jquery
<p>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.</p>

<p>The following doesn't seem to work,</p>

<pre><code>&lt;a id="tac-link" target="_blank" href="tac.html"&gt;terms and conditions&lt;/a&gt;

function popUp(URL) {
day = new Date();
id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=550,height=600,left = 445,top = 150');");
    }

$('tac-link').click(function() {
    popUp('tac.html');
    return false;
});
</code></pre>
