I have a page where I have to disable a div click through an attribute. What wrong am I doing here?
HTML Code
<div title="You cannot edit when value is in Closed status" clickdisabled="disable">
<a href="/122/edit">edit</a>
</div>
Jquery Code
$([clickdisabled = "disable"]).attr("disabled", "disabled").off('click');