I\'m trying to give fadeout effect to a div & delete that div(id = \"notification\"), when an image is clicked.
This is how I\'m doing that:
<
you really should try to use jQuery in a separate file, not inline. Here is what you need:
And then this at the bottom of your page in tags at the very least or in a external JavaScript file.
$(".notificationClose").click(function() {
$("#notification").fadeOut("normal", function() {
$(this).remove();
});
});