About 1,220,000 results
Open links in new tab
  1. javascript - How to reload a div without reloading the entire page ...

    I want to reload a div without reloading the entire page. What's the best way to do it? case "delete": if (!unlink("$_SERVER[DOCUMENT_ROOT]setting/$row[Filename]")) echo "Error."; header("Refresh: 2.5; URL=delete_setting.php?id=$id"); exit(); if (!mysql_query("DELETE FROM Setting WHERE ID = $id")) echo "Error.";

  2. Javascript: Refresh parent page without entirely reloading

    Apr 9, 2013 · After a user has logged in via a fancybox (javascript) popup I wish to reload the parent page so they can access the logged in features. Currently I am doing this with: This works great, but the only issue is that it completely reloads the entire page: redownloads all …

  3. reload - JavaScript hard refresh of current page - Stack Overflow

    Nov 8, 2017 · Using only location.reload(); is not a solution if you want to perform a force-reload (as done with e.g. Ctrl + F5) in order to reload all resources from the server and not from the browser cache. The solution to this issue is, to execute a POST request to the current location as this always makes the browser to reload everything.

  4. Refresh DIV Content Without Reloading Page - JavaScript - SitePoint

    Aug 19, 2009 · I’m trying to reload some dynamic content that is contained within div tags without refreshing the entire page. After some searching it appears that Ajax is my best bet, but I have never...

  5. How to Refresh DIV Content Without Reloading Page using

    Jan 24, 2023 · Use jQuery’s $.ajax () method to make an AJAX call to the server-side script and update the content of the DIV element. For example: This will refresh the content of the DIV with id “content” every 5 seconds, without reloading the entire page.

  6. How to reload a div without reloading the entire page? - Funda …

    How to reload or refresh a div without reloading the entire page using jquery. In this tutorial, you will be learning how can we refresh a DIV without reloading the whole page. Now, Let's refresh a div content using jquery without any page reload on a Button Click.

  7. javascript - JS page loading without refresh - Code Review Stack …

    Jul 20, 2022 · The idea is that, when clicking on an anchor within a wrapper element (#wrapper), the content of the linked page is shown. In place of a full-page refresh/transition, a custom loader element ( #loader ) is shown for a short period while the linked page's content is being loaded.

  8. JavaScript: How to programmatically reload/close the current page ...

    Feb 14, 2024 · This tutorial explores the techniques to programmatically reload or close the current page using JavaScript, covering basic to advanced implementations and considering user experience and browser compatibility.

  9. How to reload javascript without refreshing the page

    Oct 5, 2016 · A better solution would be to notify the user of upgrades, ask them to refresh the page, and make sure your app can quickly reinitialize to it's previous state. Ultimately, if you want to "upgrade" the application in-place, you'll want to refresh everything behind the scenes anyway.

  10. What is the best way to load new content without reloading the whole page?

    Nov 10, 2019 · All you need to use is the history API, the fetch API, and document.innerHTML. Here's the rough idea using some (maybe-working) code: fetch('https://myurlorwebsite.com/urlToNewPageHTML.html') .then(response => response.text()).then(newPageHTML => { //make it so the browser back button / history works. let state = {}; let title = 'new page title';