Questions tagged [reload]

reloading is the process of re-requesting and re-rendering the currently displayed page

Reloading is the process of re-requesting and re-rendering the currently displayed page, triggered for example by JavaScript or the user. Use this tag to mark questions related to forcing the browser to reload or in context of bugs that occur specifically when reloading a page.

2765 questions
29
votes
7 answers

python refresh/reload

This is a very basic question - but I haven't been able to find an answer by searching online. I am using python to control ArcGIS, and I have a simple python script, that calls some pre-written code. However, when I make a change to the pre-written…
womble
  • 683
  • 3
  • 10
  • 18
27
votes
4 answers

Reload the page after ajax success

I have some problems with redirecting/reloading after a successful ajax call. Here is the situation: I have item for deletion saved in an array. When I click on a button it calls for PHP file via ajax, and after success I need to reload the page.…
bosniamaj
  • 838
  • 4
  • 10
  • 17
25
votes
1 answer

What are the conceptual differences between live reloading, hot reloading, and hot module replacement?

I've seen a lot of posts and publications about live reloading, hot reloading, and hot module replacement, referring to different practices to reflect changes in code immediately in the browser when working in the web client/FE layer. I have a fair…
Amy Pellegrini
  • 3,200
  • 1
  • 13
  • 19
25
votes
9 answers

window.location.reload not working for Firefox and Chrome

I want to change the user status on click of a Button, so all I am doing is, detecting the current status and changing, if needed. But in this case the changes the status in backend, but to show the status the page needs to be refreshed, as on…
UID
  • 4,434
  • 11
  • 45
  • 75
24
votes
9 answers

javascript location.hash refreshing in IE

I need to modify the hash, remove it after certain processing takes place so that if the user refreshes they do not cause the process to run again. This works fine in FF, but it seems that IE is reloading every time I try to change the hash. I…
aepheus
  • 7,827
  • 7
  • 36
  • 51
23
votes
2 answers

Apache HTTPD reload

Does anyone know if while Apache HTTPD is doing a reload (which, let's say, takes five seconds) can it still serve requests during that time?
Luke
  • 20,878
  • 35
  • 119
  • 178
23
votes
3 answers

(Rails) Reloading "lib" files without having to restart server...?

Is there any way in Rails to have the ENV reload "lib" files without having to restart the server? I'm working with some classes that I have inside a module in "lib". However, in order to see my changes I must restart the server each time. I'm…
humble_coder
  • 2,777
  • 7
  • 34
  • 46
22
votes
3 answers

Python reload file

I have a script that computes some stuff. It uses inputs from a separate file 'inputs.py'. In 'inputs.py' are only a few variables: A = 2.3 B = 4.5 C = 3.0 In the main file I import them with from inputs import * If I now change something in…
Sebastian
  • 755
  • 3
  • 7
  • 22
21
votes
2 answers

Reload a page with location.href or window.location.reload(true)

I need to reload a page in a success of an ajax call. I'm seeing some code (not mine) and there are two ways: success: function(obj) { //code location.href = location.href; } or success: function(obj) { //code …
pmiranda
  • 7,602
  • 14
  • 72
  • 155
20
votes
1 answer

Will reloading supervisord cause the process under its to stop?

I try to figure out when I used reload command to supervisord. Will it stop the processing currently executing under it? I used below steps: mlzboy@mlzboy-mac:~/my/ide/test$ pstree -p|grep super …
mlzboy
  • 14,343
  • 23
  • 76
  • 97
20
votes
8 answers

Split up a mysqldump file with multiple databases, by database

I have a mysqldump file of multiple databases (5). One of the database takes a very long time to load, is there a way to either split the mysqldump file by database, or just tell mysql to load only one of the specified databases? Manish
Manish M. Shah
  • 201
  • 1
  • 2
  • 4
19
votes
9 answers

How to refresh jqplot bar chart without redrawing the chart

I have a jqplot bar chart and I want the chart data to be changed when the user changes the value on a drop-down list. That works, but the problem is the bar chart redraws, one over another, each time the user changes the values. How can I update…
Umesha Gunasinghe
  • 779
  • 3
  • 13
  • 29
19
votes
4 answers

reload cell data in table view with Swift

how is it possible to reload data for a cell in my table view? I want to do a request to my Server and the server responses JSON. At the moment I implemented the request and the response handling and I can show the data in my cells. But I want that…
GRme
  • 2,707
  • 5
  • 26
  • 49
19
votes
2 answers

How to refresh sys.path?

I've installed some packages during the execution of my script as a user. Those packages were the first user packages, so python didn't add ~/.local/lib/python2.7/site-packages to the sys.path before script run. I want to import those installed…
rominf
  • 2,719
  • 3
  • 21
  • 39
19
votes
10 answers

How to automatically reload a web page at a certain time?

I have a website that I want to be reloaded at a certain time, like 3:35pm, not after a specific interval like 5min. How do I do that?
Edwin