How to replace the entire html webpage with ajax response?

前端 未结 6 698
难免孤独
难免孤独 2020-12-01 18:38

Before going to the specific question I need to explain a few basic steps.

First, the application in question deals with the management of appointments online by cus

6条回答
  •  醉话见心
    2020-12-01 18:51

    Perhaps you can use following code in your 'success'-function to redirect to a different route. window.location.href = 'http://host.local/path/to/appointment-details';

提交回复
热议问题