How do I reload the page after an AJAX call is done with a dialog?

后端 未结 2 1466
傲寒
傲寒 2021-02-14 10:49

so I have a dialog UI with a form once a user click on a link it opens. Once they click \"Add button\" it create a AJAX call that submits the data into the database. What I need

2条回答
  •  春和景丽
    2021-02-14 11:19

    You have a typo:

    windows.localtion.reload();
    

    Should be

    window.location.reload();
    

提交回复
热议问题