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:
<a onclick="$("#notification").fadeOut(300,function() { $("#notification").remove(); });" class="notificationClose "><img src="close.png"/></a>
This seems to not be working.
What do I need to do to fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…