need correct jquery selector
<p>I would like to bind a function to this anchor but cannot seem to get the selector right</p>

<p>This didn't work</p>

<pre><code>$(function(){
$("a[onclick=='RemoveCCard_OnClick(event);']").bind('click', function() {
alert("");
return false;
});
});



&lt;span style="display: block;" id="span_remove_selected_ccards"&gt;
&lt;a style="color: rgb(153, 153, 153);" onclick="RemoveCCard_OnClick(event);" href="javascript: void(0);"&gt;
&lt;span class="PageText_L31n"&gt;remove selected&lt;/span&gt;&lt;/a&gt;
&lt;input type="hidden" value="1968" name="remove_ccardid" id="remove_ccardid"&gt;
&lt;/span&gt;
</code></pre>
