I have a index page on which there are several iframes which point to pages from a tomcat server. Sometimes when the index page loads, most of the iframes display session expired error. When I refresh the page, all iframes load properly. I want to reload the page twice whenever I come to that page initially. I also want to reload that page twice when I come to it from another page. Any ideas are welcome.
I have a perl/cgi script that includes dynamically created checkboxes and file names. When a given checkbox is checked I move the related file. how do I redisplay the page without the checkbox and file name. In other words, I want to reload the page just as if the user has entered for the 1st time.
I know I can make a link that reloads a page like this:
I am starting from "thispage.php", and I want to reload it as "thispage.php?action=newversion"? (This page has a form that reloads the rest of the page with new data when refreshed with the action call).
Obviously this is very wrong but I am trying to do this:
This is my add a job script When a user selects a location from the dropdown it refreshes the page and populates the next dropdown with sublocations My problems is all the others fields become empty I would like it if the page wasnt refreshed Code:
I have a drop down menu that has an iframe in the menu. At the moment when i click the drop down menu it loads the iframe and the content in the iframe, but when i click it again it just runs from the cache, but is there a way to make it reload everytime when i click the drop down menu.
I'm trying to find a way to have a script communicate with a server without having to load a new page. The idea is to have the server act as a simple wrapper for a database, letting the client do that icky UI stuff.
I tried the obvious, putting a frame somewhere it doesn't insult the eye, changing its location, then accessing the new content via DOM. What I get from IE (6) for my pains is just a rude "permission denied". This even though I entered "localhost" as a trusted site in IE's security setting. What's amiss?
I've got a web site that is frequently updated; yesterday several subscribers contacted me to say they couldn't see the update. I suspect this is a cache problem, so is there a way to force a page to be reloaded when it is changed. I realize it is too late for the current pages, but I'd like to include something later.
I have the script below (lend by one of the geniuses of this wonderful community) and as you'll see it reloads the page products.php every 3 seconds without any visitor noticing it. Simply wonderful.
Now the problem: products.php contains divs with information, but it also contains an iframe. The iframe is calling an URL that displays videos.
When products.php is reloaded the information changes (is coming from a xml file) and the iframe contents are also reloaded which causes the video stream to blink every 3 seconds. Therefore, the iframe should not be reloaded. What can I do, how should I modify the script to reload everything inside of products.php but the iframe??
//--> </script> <a href="#" onclick="toggle_visibility('slideshow');">Show Gallery + </a> <div id="slideshow" style="display:none">slideshow</div> It works but the page reloads and returns the user to the top of the page not to the "shown" div. Any way to send them back to the shown div or stop the reload?
I have a ajax function implementation: when the user is on one site, the ajax call keeps checking the server every 5 seconds if there is a server url change. If there is, there will be a message displayed to direct the user to go to another site. when the user go to another site, the ajax keeps checking every 10 seconds, if there is condition met, the message will be displayed to direct user to go back to the previous site. Also, after the message is displayed, ajax call keeps checking if there is another condition met, if there is, the message will automatically disappear.
The use case is: when one server is down, the message will direct the user to another site. On another site, when the previous server is up, the user could be redirected to the previous site. When the message is displayed (when server is down), the user may not follow the link to do anything. He/she may simply leave the message on and go to lunch or something, when he/she comes back, the server may be already up and the message should be disappeared instead of keeping showing the message. Therefore, the message should be displayed or disappeared automatically based on the ajax call condition.
I implemented the ajax function and it did check and displayed message. However, it wont' display the message only right after the user login or the user does a "refresh" to the page. After the message is displayed, when another condition met, the message won't disappear until the page is refreshed. Then the ajax calls keep doing every 10 seconds. The ajax call seems fine since when I set a alert, I did see the popup message show up every 10 seconds (but only after I refreshed the page.) Now the problem is: the message can't be automatically displayed. It can only happen when there is new page load (refresh). How can I solve this problem. I'm thinking of putting "windows.location.reload;" to load the page right after the condition met. But kind of feel I don't need to do this.
I've got a page that receives post data to display it's contents. On the page I want a drop down list that on certain selections will pop a confirm box and on 'Ok' it should reload the page but with one of the post variables altered. I know how to reload the page, but how can I tell it to use the same existing post array but with one variable changed?