How to “fadeOut” & “remove” a div in jQuery?

后端 未结 7 1449
醉酒成梦
醉酒成梦 2020-12-12 09:43

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:

<         


        
相关标签:
7条回答
  • 2020-12-12 10:03

    .fadeOut('slow', this.remove);

    0 讨论(0)
提交回复
热议问题