How to force page refreshes or reloads in jQuery?

前端 未结 5 1233
误落风尘
误落风尘 2020-12-14 05:26

The code below displays a Google map and search results when you enter an address and hit the submit button. I\'ve been playing with it to try and force the page to complet

5条回答
  •  轮回少年
    2020-12-14 06:18

    You don't need jQuery to do this. Embrace the power of JavaScript.

    window.location.reload()
    

提交回复
热议问题