Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Refreshing an HTML page [duplicate]

Possible Duplicate:
How can I refresh a page with JQuery?

How can I possibly trigger a reload of a page using either something in Django views.py or with Jquery? Basically, I want the page to automatically reload the same way when you click on the URL bar of a web browser and press enter does.

Thanks, Alex

like image 448
user941401 Avatar asked Mar 15 '26 01:03

user941401


1 Answers

In javascript you can refresh the page as:

window.location.reload()
like image 87
Ankur Verma Avatar answered Mar 16 '26 14:03

Ankur Verma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!