<img src="..." id="myImageId"> $('#myImageId').bind('click', function() { $(this).unbind('click');
If your image is wrapped in a link, the code will be
<a href="#"><img src="..." id="myImageId"></a> $('#myImageId').parent().bind('click', function(evt) { $(this).unbind('click');
fcalderan
source share