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?
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);