FAQ Database Discussion Community


ELMAH page refreshing

asp.net,elmah,page-refresh
I've integrated ELMAH log checker in my web application. Actually the web application consists of 4 tabs, one of them is ELMAH log checker. When I go ELMAH tab, and then change the tab to another, it refreshes the page after couple of minutes. I'm using ELMAH module first time,...

How to refresh the page after closing p:dialog

jsf,primefaces,dialog,page-refresh
I've the below dialog: <h:form id="r1"> <p:commandButton value="Basic" type="button" onclick="PF('dlg1').show();" /> <p:dialog header="Basic Dialog" widgetVar="dlg1"> <h:outputText id="test" value="Welcome to PrimeFaces" /> </p:dialog> </h:form> How can I refresh the JSF page after closing the dialog?...

Refreshing elements inside ul that find place in a iframe

javascript,jquery,iframe,refresh,page-refresh
I have a div that contains a iframe from another website. In that website you can find a UL and its updates every time user adds a feedback. This is the ul: Is it any way I can refresh only this ul every x seconds so I get the feedbacks...

Javascript page refresh to base URL, stripping query string, on browser resize -

javascript,page-refresh
I'm using this piece of javascript code to refresh the browser when the user resizes it: <script type="text/javascript"> $(window).bind('resize', function(e) { if (window.RT) clearTimeout(window.RT); window.RT = setTimeout(function() { this.location.reload(true); /* false to get page from cache */ }, 200); }); </script> It works fine, except - the page I'm using...

How to clear button clicks when using javascript to refresh my html page?

javascript,html,variables,clear,page-refresh
I'm using the java script from How to automatically reload a page after a given period of inactivity to refresh my html page every 30 seconds, and it works great. The page contains a form, some buttons and some text fields.The form also contains a statuslist that is updated when...

How to stop insert into after refreshing a page

php,sql,post,insert,page-refresh
How can I stop a insert into query after refreshing a page, after the post is done, so it won't put in all the post variables again after a refresh? Thanks in advance!...

Jquery not working on page refresh; works otherwise

jquery,page-refresh
I have some jquery code on a page which does not work at all when the page is refreshed. It works when the page loads otherwise (as in from following a link or by hitting enter on the url-bar to load it). I know that jquery isn't working at all...

Hot to preserve $http response on page refresh in AngularJs?

ajax,angularjs,session,request,page-refresh
The idea is simple. There's a Login $http POST request to the server, the user is authenticated and the server returns information about the user. I put that information in a Service and I can use it across different Controllers easily, but when I refresh the page, the data is...

CSS not loading after refresh in Rails

html,css,ruby-on-rails,refresh,page-refresh
I'm new to rails, I have created an app in which user has a profile and that can be edited with edit profile option. In controller I have, ProfilesController In Views I have, index.html.erb edit.html.erb It all works fine for index page, but for the edit page it's cool for...

Open new window (Child-Window), and refresh parent window…with TIME DELAY

javascript,php,parent-child,page-refresh,timedelay
I have a script which opens a new (child) window, while refreshing the parent page. <script type="text/javascript"> function OpenWindow() { window.open ('start_process.php', 'newwindow', config='height=670, width=1400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no'); window.location = 'www.example.com'; } </script> However, this process is rather "blitz" --- it happens in the blink of...

Hard Refresh and Data Persistence in Web Browsers

javascript,html,google-chrome,page-refresh
I wonder what is persisted in the browser after 'hard refresh' (Ctrl+F5) in moder browsers (I'm using Google Chrome)? Consider the page: http://fxrig.azurewebsites.net/index.html The footer is displayed on the initial load. Scroll the page up and do hard refresh - the footer is now semi hidden. I presume something gets...