Linked Questions

265 votes
8 answers
777k views

How can I refresh a page using JavaScript or HTML?
Prabakaran's user avatar
  • 2,685
10 votes
4 answers
19k views

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:/...
Kamran Ahmed's user avatar
  • 12.5k
0 votes
1 answer
13k views

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="...
Martin Guo's user avatar
2 votes
1 answer
5k views

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
Prudhvi Bellam's user avatar
0 votes
1 answer
4k views

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>...
Paul Dessert's user avatar
  • 6,387
-2 votes
1 answer
3k views

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: { '...
Rob's user avatar
  • 6,400
3 votes
2 answers
701 views

How can I reload a page using javascript?
christianhchristianh's user avatar
3 votes
2 answers
1k views

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=" ...
fuatogur's user avatar
-2 votes
2 answers
625 views

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. // ==...
user3670037's user avatar
-2 votes
1 answer
592 views

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', () => ...
Black's user avatar
  • 13
-1 votes
2 answers
453 views

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 ...
Mahdiyar's user avatar
-2 votes
1 answer
68 views

Hello I have a PHP file named test.php. For this I have the following code: <body> function writeData(){ firebase.database().ref("User").set({...
Nils Schmidt's user avatar
2762 votes
20 answers
3.2m views

How do I refresh a page using JavaScript?
luca's user avatar
  • 37.2k
425 votes
25 answers
764k views

Just a quick question. Can you force Vue.js to reload/recalculate everything? If so, how?
Dave's user avatar
  • 12.5k
284 votes
12 answers
292k views

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, ...
leepowers's user avatar
  • 38.4k

15 30 50 per page
1
2 3 4 5