Disabling element in jQuery
<p>Okay so I want to click an item, then have that item become unclickable, and not execute the jQuery attached to it. I am currently using this </p>

<pre><code>$(clicked_id).prop('disabled', true);
</code></pre>

<p>However that is not working.</p>

<p>Any help is much appreciated!</p>

<p>EDIT:</p>

<p>This is the HTML:</p>

<pre><code>&lt;img src="imgs/card.jpg" id="card0" name="card0"  onclick="getCard(this.id); "&gt;
</code></pre>
