Linked Questions
72 questions linked to/from How to reload a page using JavaScript
265
votes
8
answers
777k
views
Refresh a page using JavaScript or HTML
How can I refresh a page using JavaScript or HTML?
10
votes
4
answers
19k
views
Refresh browser window using JS [duplicate]
I am trying to refresh the browser window using the following code:
window.location = window.location.href;
but it doesn't refresh the window, however when I try to do this:
window.location = "http:/...
0
votes
1
answer
13k
views
Is there a way to reset an HTML page using a Javascript function? [duplicate]
I currently have a Javascript reset function that looks like this :
function reset(){
document.body.innerHTML = login;
}
and the login variable looks like this:
var login = '<div id="...
2
votes
1
answer
5k
views
Page Redirect after X seconds wait using Flask-python/jinja [duplicate]
I want to redirect to another page after staying in a page for x seconds. is it possible to do using python or jinja in flask.A code sinppet can be Helpful
0
votes
1
answer
4k
views
Reloading page after successful Facebook Login [duplicate]
Possible Duplicate:
How to reload a page using Javascript?
I have the Facebook login working correctly except for the redirect after the user logs in.
Calling it here:
else {
echo '<h3>...
-2
votes
1
answer
3k
views
Reloading the current page after successful Ajax call [duplicate]
I have an Ajax call using the following:
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
// This does the ajax request
$.ajax({
url: ajaxurl,
data: {
'...
3
votes
2
answers
701
views
Reload a page manually [duplicate]
How can I reload a page using javascript?
3
votes
2
answers
1k
views
how can i use confirm() then refresh the page? [duplicate]
I made a print page to print tables from there. But when you delete something you will also need the refresh to page to apply the site. Here is my code
<a target="_blank" onclick=" ...
-2
votes
2
answers
625
views
refresh page when dom is loaded [duplicate]
I am trying to figure out how to refresh the page after the dom loads. If the dom loads and there is not a specific text on the page, it refreshes and keeps looping till that text is found.
// ==...
-2
votes
1
answer
592
views
reload page using java script one time after 1 second [duplicate]
some friends help me to write the following code to reload page once time after 1 sec but it had syntax error where i did not know.can any one help me to edit?
window.addEventListener('load', () => ...
-1
votes
2
answers
453
views
Javascript-reloading the page using AddEventlistener [duplicate]
I want to use AddEventListener in javascript to reload the page when i press Enter(Like what F5 automatically do), and overall I want to know how to manipulate the shortcuts that being already defined ...
-2
votes
1
answer
68
views
How to load a PHP-File in Java-Script code? [duplicate]
Hello I have a PHP file named test.php. For this I have the following code:
<body>
function writeData(){
firebase.database().ref("User").set({...
2762
votes
20
answers
3.2m
views
How do I refresh a page using JavaScript?
How do I refresh a page using JavaScript?
425
votes
25
answers
764k
views
Can you force Vue.js to reload/re-render?
Just a quick question.
Can you force Vue.js to reload/recalculate everything? If so, how?
284
votes
12
answers
292k
views
JavaScript hard refresh of current page
How can I force the web browser to do a hard refresh of the page via JavaScript?
Hard refresh means getting a fresh copy of the page AND refresh all the external resources (images, JavaScript, CSS, ...