Home  >  Q&A  >  body text

javascript - The problem of the content in the layer pop-up window being hidden on the page

As the title says, I use a layer pop-up window, and the content in the content is injected with the ID. This part of the content is display:none on the page, which is hidden. When I click on the pop-up window, the content inside can be displayed. out, but after closing the pop-up window, this part of the content is displayed on the page.

Solution....

某草草某草草2687 days ago1047

reply all(2)I'll reply

  • 三叔

    三叔2017-07-05 10:38:49

    In the end method of the layer, re-execute the following display: none

    reply
    0
  • 漂亮男人

    漂亮男人2017-07-05 10:38:49

    After closing, reset and clear the part of the content you injected

    reply
    0
  • Cancelreply