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

后端 未结 7 1467
醉酒成梦
醉酒成梦 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 09:59

    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

提交回复
热议问题