jQuery replace specific text from href
<p>How do you just change the text "us-test" from the value of the link below, without having to replace the whole link, the current method i use replaces the whole link i guess that has to do with the function of .attr, i'm guessing i could achieve this by using .find or something else i really don't have any clue on how to do it can someone help me on this thank's.</p>

<pre><code>$(document).ready(function(){ 
 $("#box1").click(function(){
 $("a.mylink").attr("href", "http://google.com");
   });  

 $("#box2").click(function(){
  $("a.mylinktwo").attr("href", "http://yahoo.com"); 
 });   


&lt;a class="mylink" href="http://google.com/en/get.php?chrome=us-test"&gt;Test&lt;/a&gt;
</code></pre>
