php code:
<a id="a$id" onclick="check($id,1)" href="javascript:void(0)" class="black">Qualify</a>
How to remove onclick="check($id,1) so "Qualify" can not be clicked or "check($id,1) won't be fired. How to do it with JQuery?
php code:
<a id="a$id" onclick="check($id,1)" href="javascript:void(0)" class="black">Qualify</a>
How to remove onclick="check($id,1) so "Qualify" can not be clicked or "check($id,1) won't be fired. How to do it with JQuery?
Try this :
$('a#...').attr('onclick','').unbind('click');
(Replace ... with the id you need.)