Questions tagged [refresh]

The periodic energizing required to maintain the contents of computer memory, screen, etc. It can refer also to the update of a display to show the latest version of the data.

Source: http://en.wiktionary.org/wiki/refresh

5342 questions
2726
votes
20 answers

How do I refresh a page using JavaScript?

How do I refresh a page using JavaScript?
luca
  • 36,606
  • 27
  • 86
  • 125
456
votes
26 answers

How to refresh Android listview?

How to refresh an Android ListView after adding/deleting dynamic data?
UMAR-MOBITSOLUTIONS
  • 77,236
  • 95
  • 209
  • 278
447
votes
23 answers

Refresh image with a new one at the same url

I am accessing a link on my site that will provide a new image each time it is accessed. The issue I am running into is that if I try to load the image in the background and then update the one on the page, the image doesn't change--though it is…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
412
votes
6 answers

What requests do browsers' "F5" and "Ctrl + F5" refreshes generate?

Is there a standard for what actions F5 and Ctrl+F5 trigger in web browsers? I once did experiment in IE6 and Firefox 2.x. The F5 refresh would trigger a HTTP request sent to the server with an If-Modified-Since header, while Ctrl+F5 would not have…
Morgan Cheng
  • 73,950
  • 66
  • 171
  • 230
228
votes
29 answers

Angular + Material - How to refresh a data source (mat-table)

I am using a mat-table to list the content of the users chosen languages. They can also add new languages using dialog panel. After they added a language and returned back. I want my datasource to refresh to show the changes they made. I initialize…
Kay
  • 17,906
  • 63
  • 162
  • 270
202
votes
14 answers

Refresh a page using PHP

How can I refresh a page using PHP periodically? If I can not do it by PHP, what is the best recommended scenario?
Aan
  • 12,247
  • 36
  • 89
  • 150
194
votes
18 answers

How to force an entire layout View refresh?

I want to force the main layout resource view to redraw / refresh, in say the Activity.onResume() method. How can I do this ? By main layout view, I mean the one ('R.layout.mainscreen' below) that is called in my Activity.onCreate(), like…
MickeyR
  • 1,858
  • 2
  • 13
  • 24
181
votes
11 answers

Append to URL and refresh page

I am looking to write a piece of javascript that will append a parameter to the current URL and then refresh the page - how can I do this?
amateur
  • 43,371
  • 65
  • 192
  • 320
181
votes
13 answers

Refreshing Web Page By WebDriver When Waiting For Specific Condition

I'm looking for more elegant way to refresh webpage during tests (I use Selenium2). I just send F5 key but I wonder if driver has method for refreshing entire webpage Here is my code while(driver.findElements(By.xpath("//*[text() =…
pbaranski
  • 22,778
  • 19
  • 100
  • 117
163
votes
18 answers

Button that refreshes the page on click

I need a button that will refresh the page on the user's click. I tried this: or But neither worked.
Stefan Đorđević
  • 1,781
  • 3
  • 15
  • 14
161
votes
13 answers

Output to the same line overwriting previous output?

I am writing an FTP downloader. Part of to the code is something like this: ftp.retrbinary("RETR " + file_name, process) I am calling function process to handle the callback: def process(data): print os.path.getsize(file_name)/1024, 'KB / ',…
Kristian
  • 1,751
  • 2
  • 12
  • 9
150
votes
24 answers

How to Refresh a Component in Angular

I am working on an Angular project. I'm struggling with refresh action in a component. I would like to refresh the router's components on button click. I have refresh button when I click on it the component/router need to be refresh. I tried…
Sreehari Ballampalli
  • 3,404
  • 3
  • 12
  • 19
136
votes
20 answers

Firefox ignores option selected="selected"

If you change a dropdown and refresh the page, Firefox seems to ignore the selected attribute. It will in fact select the option you had previously selected (before the refresh). This ends up…
monkey-wrench
  • 1,556
  • 2
  • 14
  • 16
128
votes
9 answers

Prevent any form of page refresh using jQuery/Javascript

Once the user is on my page, I do not want him to refresh the page. Anytime, the user hits F5 or refresh button on top. He should get an alert saying You cannot refresh the page. Also if the user opens a new tab and tries to access the same url…
pankaj
  • 1,291
  • 2
  • 9
  • 4
117
votes
1 answer

How to reload page the page with pagination in Angular 2?

How can I reload the current page on Angular 2? if iam in page 2 (pagination) and refresh the page it will show page 1(URL pageload) but i want i refresh the page 2 and it will appear in page 2
FABI1987
  • 1,179
  • 2
  • 7
  • 3
1
2 3
99 100