JQuery replace href value for all with same ID
<p>I want to replace <code>href</code> value for all </p>

<pre><code>&lt;a id ="replaceValue" href=""&gt; test1 &lt;/a&gt;

&lt;a id ="replaceValue" href=""&gt;test2 &lt;/a&gt;
</code></pre>

<p><code>&lt;a&gt;</code> tag Id is same for both. I want to change the value of both.</p>

<pre><code>$("#replaceValue").attr("href", "test.html");
</code></pre>

<p>This function is working well but it only change for first <code>&lt;a&gt;</code> tag. Please help me changing both with same function.</p>
