unbind and then bind the onclick function(with dynamic param) to the anchor tag in repeater in jquery or javascript
<p>I want to unbind the function(which is with parameters<br>
        &lt;%#Eval('')%>) and after thta on button click bind that function in jquery or javascript</p>

<pre><code>      &lt;ItemTemplate&gt;
           &lt;tr&gt;
              &lt;td nowrap="nowrap" align="center"&gt;
                                                                                                  &lt;%#Eval("Comments")%&gt;&amp;nbsp;
               &lt;/td&gt;
               &lt;td nowrap="nowrap" align="center"&gt;
                  &lt;a id="hlnkEditVoyageAssosiatedCompanyID" onclick="FillVoyageCompanyData(&lt;%#Eval("VoyageAssosiatedCompanyID") %&gt;);"&gt;          Edit&lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
       &lt;/ItemTemplate&gt;
</code></pre>

<p>Here i want to unbind "FillVoyageCompanyData" function. 
i am doind it by</p>

<pre><code> $("#hlnkEditVoyageAssosiatedCompanyID").unbind("click");
</code></pre>

<p>and then </p>

<pre><code> $("#hlnkEditVoyageAssosiatedCompanyID").bind("click", FillVoyageCompanyData);
</code></pre>

<p>but it is not working. it does not unbind the function</p>
