I am trying to achieve the following.
- A link on a parent page will open a new child pop-up.
- In the child pop-up, the user enters some data and clicks “Save”.
- Data will be saved to database and the pop-up will be closed. The parent window would be refreshed, and the data entered in the child pop-up would be displayed in the parent page.
How can this (closing a child pop-up and refreshing the parent page) be done in Javascript?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…