9
jQuery how can I disable a click on <img> tag
$("#ico_cal_id").attr('disabled', 'disabled') or
$("#img_id").attr('disabled', 'disabled') is not working
Below is my code:
<span id="img_id"><src="ico_calendar.png" id="ico_cal_id" style="cursor: pointer"; onlick="showCalendar(this,'startDay','startMonth','startYear');" /></span>
whenever I click on the calendar_image the calendar is popping up
Any ideas?