I am trying to add an image in jquery and then make it clickable I have maked the following code below but it does not work.
It adds the images but it will not make it clickable.
$(".HeaderGifs").click(function() {
alert("It Works");
});
$("#show_images").val()).append("<img class='HeaderGifs' src='images/text.jpg'></img>");