dynamically change the window.location + ID jquery
<p>I'm trying to pull the URL from the link and assign it to the window.location and it's not working. I know I'm close, what am I doing wrong?</p>

<p>JavaScript:</p>

<pre><code>$(document).ready(function () {
    $("#mypage").attr("href", $("#redirectme").attr("href") );
    window.location + "#redirectme";
});
</code></pre>

<p>HTML:</p>

<pre><code>&lt;a href="http://www.google.com" id="mypage"&gt;My link&lt;/a&gt;
</code></pre>
