How can I send an event from child window to its parent window

前端 未结 3 635
有刺的猬
有刺的猬 2021-02-05 16:27

My main goal is:

Going to my application, open a link there in a new tab, make something in the new tab and send an event to the parent-main tab to refresh.

3条回答
  •  温柔的废话
    2021-02-05 16:41

    What I did for myself, I implemeted some ajax to submit changes from the window2 into database. I implemeted JSON to pull new data from the database back to window1

提交回复
热议问题