Questions tagged [page-refresh]

Questions dealing with causing or preventing the re-rendering of an HTML document by a web browser.

1164 questions
-1
votes
2 answers

How can I keep asp:button from reloading the page?

I have multiple asp:buttons in my application that reload the page whenever they are clicked. How do I resolve this behavior while still allowing the function of the button to work? Besides looking weird when the page reloads, I have a tab style…
gwydion93
  • 1,681
  • 3
  • 28
  • 59
-1
votes
3 answers

Dynamically change html content based on form input after page refresh

I am currently attempting to create a simple test web page which takes in a user's input of their name through a form and then after the form is submitted, the page is refreshed and the page now ONLY displays "Hello NAME". Now, after going to this…
-1
votes
1 answer

php refreshing only data in page

i'm a php nearby. I have a problem with my form. I connect the controller with db and extract a question and his three answers. If i click on one of this, the system return the second question, under the first question. If i click on one of the…
Kurtbain
  • 3
  • 3
-1
votes
1 answer

MySQL Update command over PHP

I am making my first PHP project and it's now getting for me little uncomfortable. I want to update datasets in my database but when I execute the code nothing happens. First I tried to upload and refresh the site with: header("location:…
Okan OG
  • 3
  • 4
-1
votes
1 answer

Refreshing a webpage

I am trying to make a function that refreshes any page when given the URL. But the program won't run. What am I doing wrong? This is my code: from selenium import webdriver import time def page_refresh(url): driver = webdriver.Firefox() …
Heds
  • 9
-1
votes
1 answer

How a changed innerHTML could stay changed after page refresh?

When you enter anything in input fields, it would be replaced(changed) as intended, and i don't know how could they stay that way(changed based on input value) after page reload...I tried many options form here and from other forums but no help at…
Philip Braun
  • 11
  • 1
  • 4
-1
votes
1 answer

stop refreshing the page in the event "unload"

How to stop updating the page in the event unload? $(window).unload(function(){ if(confirm('Do you really want to exit the survey without completing it? Your data will be deleted.') ){ // This does not currently work in the method …
Zhasulan Berdibekov
  • 1,077
  • 3
  • 19
  • 39
-1
votes
1 answer

onbeforeunload window location change not working

I want to capture the page reload event using JavaScript and then redirect to a different URL (i.e. load the different page in the same browser tab) instead of the letting the existing page reload. My code is here -