Can I put an image inside a span and give click event to the span using jQuery. Here it is not working in my code have any idea.
<span id="removeNewTime" class="removeTime">
<img src="Images/close button.png" alt="close" />
</span>
jQuery code
<script>
$(document).ready(function(){
$(".removeTime").click(function(){
alert("hello");
});
});
</script>