how to change function name of a anchor tag with a span using jquery
<p>I have the following code:</p>

<pre><code>&lt;span class="action_bar" 
      id="dupquickaddchildassetbutton'+'_'+nodeid+'_'+'-1'+'"
      style="background-color: rgb(226, 225, 225);
             font-size: 10pt;
             font-weight: 700;
             visibility: hidden;"&gt;
    &lt;a href="javascript:void(0)" onclick="editchildassetquickmode('+nodeid+',1,-1);"&gt;
        &lt;img src="/images/chain-symbol-add.jpg" title="Quick connect child node" border="0" width="16"&gt;
    &lt;/a&gt;
&lt;/span&gt;
</code></pre>

<p>now I want to change the parameter in this function -1 to actual group id.
so, how do I select that anchor tag and change that value in parameter?</p>
