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
1
vote
0 answers

Refresh div content without .load

I do need to refresh a specicif div content, i've tried with .load $("#myDiv").load(location.href + " #myDiv"); And it works, but after that seems that I cannot manipulate the returned loaded 'div'. I checked and seems that the .load does not…
Ecoit
  • 19
  • 1
1
vote
1 answer

jQuery preventDefault() not working with .on()

Yes, I have read through many other posts with the same problem, but I'm not understanding how to fix this. I created a bookmarking button, and it needs to change icons on click. My jQuery: jQuery(document).ready( function() { var bm =…
Michael
  • 441
  • 1
  • 6
  • 17
1
vote
1 answer

Update Child Component Data on Parent Refresh React Native

I am fairly new to React Native and currently try to implement pull-to-refresh functionality in my app. Here is my Parent component snippet: function MainScreenBoss({ navigation }) { const [refreshing, setRefreshing] = useState(false); …
denistepp
  • 489
  • 7
  • 23
1
vote
1 answer

force reload/refresh a second webpage through php

I'm trying to force to reload a (second) page if a criteria is met in php But if the criteria is met, i want the page to force reload everywhere, even if 10 people have it open at once for example. for simplicty lets say the code is like this: in…
Phpnewb
  • 127
  • 1
  • 9
1
vote
1 answer

Introspect library UIRefreshControl with SwiftUI not working

I am trying to use the Introspect library to refresh a list control in SwiftUI when a pulldown occurs. My List modifier is as follows: .introspectTableView (tableView in { tableView.refreshControl = UIRefreshControl() // code here to get…
rsciorra
  • 13
  • 4
1
vote
1 answer

React route - Content disappears on page refresh

I want to use a sidebar when following links using React Route but when I refresh the page the content disappears Lesson.jsx import React from "react"; import { BrowserRouter as Router, Switch, Route, Link } from…
Synchro
  • 1,105
  • 3
  • 14
  • 44
1
vote
2 answers

How to refresh the contents within the Python TKINTER Tab?

I have a program that displays some data from MySQL using Treeview. I would like to update the contents of it using a "refresh button" instead of terminating and re-running the program again. I have tried self.destroy() function, but it closes the…
Daniel
  • 105
  • 9
1
vote
3 answers

Refresh and replace content in a div using JQuery

Ill try and make this quick and easy...I hope, Right now I have a div that ( on page refresh ) changes the content inside. the content that is being changed is actully on the same document and im not trying to get any content form any other…
1
vote
0 answers

React-Redux page refresh redirects to login even though state exists

I am building a backend admin app, and it will not stay on the correct route/page when refreshing the browser. When the user logs in, it redirects to /dashboard, updates the state with user info and access token, sets a refresh token on the server…
1
vote
3 answers

how to refresh listview with sqlite DB

im trying to refresh my listview after i deleted a row from SQLite DB. This is part of it: cursor = mysqlAdapter.fetchAll(); // a method from sqlite adater class ArrayList vidRows = new ArrayList(); if (cursor.moveToFirst()) { do…
Codes12
  • 376
  • 6
  • 21
1
vote
1 answer

The view function did not return a valid response. The return type must be a string, dict

using Spotify API and Flask I am trying to extend refresh_token validity. As a result, when I send a request to the server, I get this error: *The view function did not return a valid response. The return type must be a string, dict, tuple, Response…
1
vote
1 answer

Cannot get ProgressDialog to stop after WebView has loaded

I can get the ProgressDialog to show, but I cannot get it to stop after the WebView has been loaded. All I need is a simple refresh button for it. Here is the working code so far: public class Quotes extends Activity implements…
Chris
  • 85
  • 15
1
vote
1 answer

Auto refeashing DIv cause jquery inside div not to work

I have the the following code // hover show delete and refer button $('.friendsArea').livequery("mouseenter", function(e){ $(this).children("a.delete").show(); $("a.PostShowHide_link", this).show(); …
Oudin
  • 483
  • 7
  • 16
1
vote
0 answers

PHP: New cookie on refresh?

How do I generate a new cookie every time the page is refreshed? I'm new and learning about secure session cookies. I'm supposed to print the session id/cookie value on a start page and on connected pages. At the moment the value is printed on all…
Nathalie
  • 113
  • 1
  • 1
  • 8
1
vote
1 answer

jQuery highlight effect refreshes page unexpectedly

I have a form that looks like this:
marky
  • 4,878
  • 17
  • 59
  • 103