FAQ Database Discussion Community


Detecting an iframe reload, get img src, apply to parent

javascript,iframe,reload
Scenario: 'Parent Page' contains two iframes, 'activity_overview' and 'upload_avatar'. 'Activity_Overview' contains a page on the same domain. 'Upload_avatar' also contatins a page on the same domain, which contains a form. When the form (which submits a new avatar img) in 'upload_avatar' is submitted, it automatically opens a new page in...

How to reload report with same parameters in SSRS?

reporting-services,parameter-passing,reload,ssrs-2012
Scenario - I have a multi-value visible (user defined) parameter that I use in the dataset query, and I have a link in the report that directs the user to the same report (but it does something else that is irrelevant to this topic). However, when the report reloads, the...

How to reload NetworkImageView

android,android-fragments,android-actionbar,reload,networkimageview
I have an app which is displaying fragment with one NetworkImageView widget from android Volley. The image at URL which is loaded in NetworkImageView is changing every 5 secounds so I want to uptade this image by pressing reload button that I have created in action bar. I have found...

Reload Adsense ads, or have to use DFP?

javascript,reload,ads,adsense,google-dfp
I've found a number of sites that explain how to make a DFP ad reload/refresh after 30-120 seconds, but none of them explain if it's possible to do with an Adsense ad. I've tried DFP - it's very confusing compared to Adsense. My current Adsense code: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!--...

(AngularJS) Injection doesn't work after set up UI-Router

javascript,angularjs,angular-ui-router,reload,code-injection
I created a directory (root/app/views/partials/) and when I edit a partial view nothing change in the browser (no injection). I have to edit a file like app.js to see changements done on partials/home.html for exemple (or reload the page). Is there something to do to say that there is a...

How do you reload a variable shown in HTML when it changes value?

javascript,jquery,html,refresh,reload
My HTML shows a variable inside of a script tag, and I want to reload only that variable. <script class="scriptClass">document.write(myObject.myProperty);</script> <button>Go</button> When a function runs that changes the value of myObject.myProperty, it needs to be updated in the HTML. JavaScript is something like this: var myObject = { myProperty:"Initial" };...

Rails 4: Submit button not responsive after its been reloaded by Ajax

ajax,ruby-on-rails-4,submit,reload
I have a partial in my user show page <div id = "AboutMeJS"> <%= render "about_me" %> </div> The _about_me.html.erb partial is: <% unless @user.about.blank? %> <div class = "HeaderRow"> <span class="glyphicon glyphicon-user AboutMe" aria-hidden="true"> </span> <div class = "Header">About <%= about_me_variable %> <% if current_user == @user %> <a...

How can i refresh a asp page from code behind? C# [duplicate]

c#,asp.net,timer,reload,code-behind
This question already has an answer here: Refresh Page C# ASP.NET 7 answers I'm kind of new at this and my English is also poor. Anyway: I'm trying to set a Timer that refreshes my page if there is any new record on my report. Apparently my timer works...

JAVAFX LISTVIEW REFRESH TAB

listview,javafx,controller,reload
I'm stuck in school projet. I have javafx project, with a Controller A and Controller B. The A controller is associated with Tab A, and B conrtoller with Tab B. In both controller, I have a listview listing the same object (@FXML Listview moviesList for example). In Tab A, I...

I can't get my UITableView to reload data in swift

uitableview,swift,ios8,refresh,reload
I'm using a UITableView to list a number of settings with the state of that setting displayed in the cell title. When the cell is selected it segues to another view where I change the setting. I use a navigation control to go back to the UITableView however I'm unable...

Automatically reload Python-Flask application hosted on PythonAnywhere.com

python,flask,reload,pythonanywhere
I need to reload my flask application hosted on pythonAnywhere everyday. Is it possible to automatically reload the application using the code i already have? The application is a simple days counter: import datetime from flask import Flask, render_template app = Flask(__name__) wsgi_app = app.wsgi_app currentDate = datetime.date.today() userInput =...

PHP AJAX JSON Drop Down value on form submission

php,ajax,json,drop-down-menu,reload
I want to retain the value of the drop down when the form is submitted. I have two drop down- Department and Project interlinked through AJAX. When I submit, the page is reloaded, and by default the values of the department and the project comes out to be All Departments...

Refresh/reload textview from database | Button Tapped Function

ios,database,textview,refresh,reload
I have declare the textview outlet: @IBOutlet weak var messageView: UITextView! I have created the interface action, and place the logic: @IBAction func refreshTextViewTapped(sender: UIButton) { // logic } Reload/update textview with new content....

Android OpenGL es 2.0 Can not reload textures on object.

android,textures,opengl-es-2.0,reload
I've managed to load textures and free rotate a sphere thanks to several tutorials, questions and answers asked here but i stumbled upon the need of texture reloading at runtime (get a bitmap image, process it and then apply it as a new texture to an object). I didnt find...

How often should AJAX reload specific content on the page? [closed]

javascript,jquery,ajax,settimeout,reload
I'm constructing an app where users can insert their preferences in a table. It is possible to load an updated version of the table via AJAX. I would like to load these updated versions from time to time, so the users will see almost always the newest version of the...

App crashs when re-activating from App-List

windows-phone-8,xamarin,mvvmcross,reload
My WP8-App runs with Xamarin and MvvmCross. When I open my app normal and then go back via the start-button/windows-button on my device and try to re-open my app through the app-list, my app crashs with the following exception: {Cirrious.CrossCore.Exceptions.MvxException: Unable to find incoming MvxViewModelRequest at Cirrious.MvvmCross.WindowsPhone.Views.MvxPhoneViewsContainer.GetRequestFromXamlUri(Uri viewUri) at Cirrious.MvvmCross.WindowsPhone.Views.MvxPhoneExtensionMethods.LoadViewModel(IMvxPhoneView...

Swift: tableView.reloadData() way too slow

ios,uitableview,swift,reload
I'm trying to execute a tableView.reloadData() call after an async request that I'm calling to populate my UITableView. The table displays the data after 15-20 seconds, unless I manually start scrolling, in which case it all loads immediately. So the data is definitely there, it's just not being loaded properly....

Reload page via jQuery changing value of a parameter

jquery,reload
I have a page with URL like: www.mydomain.com/orders.html?orderNumber=363035001&return=true I need a way to reload the page via jQuery at a specific event, changing last parameter. So url to be reload should be: www.mydomain.com/orders.html?orderNumber=363035001&return=false ...

How to delete functions of previous instances of controller?

javascript,angularjs,controller,state,reload
I have a simple angularjs controller referenced as someCtrl and it contains the following code: function testing() { console.log("Hello there."); } $document.on('click', function(e) { testing(); }); this.getView = function(value) { return viewService.getView(value); }; this.setView = function(value) { viewService.setView (value); }; this.destroy = function() { $state.reload('default_state'); }; When click event happens,...

reload web page only when size of page change

javascript,jquery,html,css,reload
I have problem with reloading page, iam writing a site using RWD and media queries for desktop and tablet/mobile layout. And i have one page where i use google maps. My client want me to refresh page if he resize window from desktop size to mobile (i tried to tell...

How to disable phonegap autoreload (At least while dev)

api,cordova,reload,auto
here is my issue : I've installed phonegap and phonegap desktop. http://code.riffzone.net/phonegap-install-msw/ Now, when I'm working on my application (Jquery Mobile), I'm testing it on a browser, but I've ALwAYS the page reloading again and again every 2 secondes, I can't even write something in the form input, reloading to...

Tomcat reloads JS resources only every 10 minutes

javascript,tomcat,reload
I am using Eclipse and Tomcat to work on a webapp. I use Eclipse to deploy my code changes automatically to Tomcat. It works well for Java classes: when I make a change to a .java file, I can see it immediately reflected on the web application, without restarting Tomcat...

Passing variable PHP, Javascript location.reload, and HTML input

javascript,php,html,post,reload
I have a page that runs a MySQL query off of a button click. The query result displays about 6 or so columns with about 100 rows. I would like the user to be able to resort the query results based on clicking the column headers. Pretty much sending them...