Home  >  Q&A  >  body text

javascript - Pop-up box pops up inside the pop-up box?

There is such a pop-up box a. Assuming that there is a button in it, a pop-up box b can pop up. Now my requirement is that
the pop-up box b does not pop up when the button is clicked, but when the button is clicked. How to replace the content in pop-up box a?

ringa_leeringa_lee2731 days ago469

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-05-18 11:00:33

    Replace the template in pop-up box a with the template of b

    That is:
    Pop container: container
    a: a-template
    b: b-template

    Pop-up A: container.html(a-template);
    Pop-up B: container.html(b-template);

    reply
    0
  • Cancelreply