Set element href to other elment id
<p>I have a menu and I need to set the href of each menu item as the content item ids, something like this:</p>

<pre><code>$(this).attr("href") = $(".element").attr("id");
</code></pre>

<p>How can I?</p>
