I Created A Dialog, Now How Can I Close It?

后端 未结 5 1498
深忆病人
深忆病人 2021-01-25 22:53

I have included a link to my site below for review of the JS in the head section, as well as to allow YOU to see how I set it all up. If you don\'t want to use the link, I\'ll a

5条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-25 23:17

    You can remove it from the dom using

    element.parentNode.removeChild(element);
    

    or you can set the display style of the element to 'none' and then you can play with it and create open-close

提交回复
热议问题