Reputation: 1189
How to refresh the page using Ajax? I mean pure Ajax, without any libraries used
Upvotes: 3
Views: 263
Reputation: 1467
There are several ways to reload the current page using javascript:
location.reload()
or
history.go(0)
or
location.href = location.href
Upvotes: 0
Reputation: 8125
You don't need Ajax -- just vanilla javascript will do:
location.reload();
http://www.netlobo.com/javascript_location_reload.html
Upvotes: 3