Popup Refresh In IE Problem
Mar 31, 2006I open a pop-up window and try to refresh it contents every 30 seconds.
the code below works in Firefox browser but in IE i get Permission
Denied error. any suggestions how to make it work in IE? ....
I open a pop-up window and try to refresh it contents every 30 seconds.
the code below works in Firefox browser but in IE i get Permission
Denied error. any suggestions how to make it work in IE? ....
I'm using submodal-1.6 for popup. When the popup closes I wanted parent page to refresh.I've tried the following
window.opener.location.load();
window.opener.location.load(true);
location.load();
window.parent.location.reload();
All works for IE, but when coming to mozilla ,firefox the refresh is a step delayed, i.e when I open my popup to add an itme to my cart on parent page ,for the first time it does not show anything , but when I try to add another item , the first one shows.
I'm using submodal-1.6 for popup. When the popup closes I wanted parent page to refresh.I've tried the following
window.opener.location.load();
location.load();
window.parent.location.reload();
All works for IE, but when coming to mozilla ,firefox the refresh is a step delayed, i.e when I open my popup to add an itme to my cart on parent page ,for the first time it does not show anything , but when I try to add another item , the first one shows.
here's what i need to do:
1. open popup
2. on submit -- run the asp to process results and then
3. close the page
4. refresh the paretn page
how can I do this? can anyone help me?
I've got some popup windows with help screens in them. The screens are other pages of my site specially sized to fit. Those pages have links to other pages, so users can navigate them inside the popup.So I thought I'd do two things:
1. Put a back button in the popup to let the user go back one or more pages in the help screens. But a simple button saying history.back() or history.go(-1) just does nothing.
2. Let the user refresh the pop-up content so that the user can go back to the first page of the help screen without having to close the pop-up and reopen it from the main page.But a simple refresh button saying location.reload(true) or window.location.reload() also does nothing.There is a button in there that works OK, window.close().Am I missing something fundamental about the nature of popup windows?I don't really want to have my help screens open in new browser tabs because I know people won't bother to close them.
I have this code in a page that appears in my iframe if requested from parent:
<script type="text/javascript">
parent.rrr();
</script>
The parent code is:
function rrr() {
javascript:location.reload(true);
}
So, the person clicks a link from the parent, it does a php process in a hidden iframe, which then tells the parent page to refresh. The only problem is that it puts Firefox in a constant loop of refreshing. IE and Chrome work fine. They refresh once and stop.
Though the src code opens the iframe like so: <iframe src="" style="display:none; height:1px;" name="hdplus" id="hdplus"></iframe> Firefox seems to refresh the page with the memory of the child page being in the iframe, constantly looping the child request to refresh the parent.
Why won't Firefox just accept that no page should load in the iframe, as stated in the code? I need to stop this loop, which means I need to get firefox to reset the iframe as it reloads the page.
How to refresh DIV , without refresh entire page,Am having four DIV ,
DIV1,DIV2,DIV3,DIV4
I want to refresh only DIV! without affecting the DIV3,DIV4 ,
I have the below code:
<script type="text/javascript">
function loadQuickMessageCheck(File,ID){
var xmlhttp;
[code]....
So my problem is that i can't send form data in FF without page refresh (though in IE7-8 everything works smoothly).
My code fragments:
I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got blocked, so I have tried it by creating a form with a button in it and instead of calling the popup function direct I call document.form.button.click and in the form my button has onclick"popup('<? echo url; ?>')" but this also is detected as a unwarranted popup and is blocked.
now I understand that the popup blocker works when a popup is called without user interaction, but allows popups on say button clicks. how can I get the popup to work
1. VBScript opens a dropmenu: oPopUp = window.createPopup
2. Then Javascript code in the popup body should hide the popup when certain item has mouseover.
Can javascript hide vbscript popup (within the popup)?
In my application i use window.showmodaldialog() to pop up a window. When i run it in IE pop up blocker wont blocks the window... But when run it in FireFox pop up blocker will blocks the pop up window.. is there any way to open a window with out blocking(avoiding ) by the pop up blocker?
View 1 Replies View RelatedI want to configure the script below to popup only once per browser session. I know nothing about javascript.
Code:
From a parent window, I open two child windows.In the second child, you complete some data, and then it closes the window. I'm trying to figure out how to find and close the first popup window at the same time (as that is used for reference but no action necessary on it).As near as I can tell window.open should let me set a handle that I can then reference later on to close that window (or am I misunderstanding that), but i cannot figure out how to reference that window.
View 1 Replies View RelatedAs per the rather long subject, I would like to (well, my boss would like me to...) on a popup have one button to close and another to close but then redirect to another page.
View 4 Replies View RelatedOK, can't figure out what I did wrong here....
View 2 Replies View RelatedI have a situation where I need to be able to refresh a windows parent
parent. I can not seem to use anything like
window.opener.parent.location.reload()
as by the time I execute the statement the parent has closed and all
connections closed and I am not even sure that would work!
Is there a way to reference a window to refresh it other than by using
window.parent or window.opener.
i would like to refresh an image source, which is alreadz stored in user's cache. one waz would be append some ?time at the end of img's url, bur next time user come accross the picture, the old pic from the old cache would've been loaded..so, i need to force somehow the browser to send a request (it does not send requests for images stored in cache by default)... like f5 (or refresh button)
View 7 Replies View Relatedpage1 opens page2 in a new window. if the user returns to page1 and makes changes they suppose to be shown in page2 (that is still opened) . is there any way to refresh page2 if page1 was it's opener?
View 4 Replies View RelatedI have 1 page and this page has button when cliek this button, it pop up new window, I use image instead of button.
The problem is when new window pop up, old windows refresh itself 1 time, why it refresh? how to prevent?
PHP Code:
<input type=image src='emotion.gif' onclick='exmp=window.open("smile.php","isag","toolbar=0, menubar=0, scrollbars=yes, resizable=yes");'>
I'm writing a script that proactively validates data input.
Under IE, throwing up an alert seems to interfere with the behavior of
radio buttons. In other words, if changing the value of the radio button
field fires the validation, the radio button either isn't set or isn't
displayed correctly after the popup is dismissed.
If I stick the error messages in a non-editable textarea field, the
textarea field doesn't get refreshed.
I tried "focus" - didn't help.
Mozilla works perfectly of course.
i am trying to refresh a ShowModalDialog that contains information. I have
search about it but it never seems to be possible. As anybody got some
info., way, idea, documentation about a ShowModalDialog refresh.
I'm building a suite of free php applications to create virtual worlds.
My problem is i can't get my file to refresh. Can this be done with
javascript? I would like to have the display and the form be on a single
page..unless this can be done with frames.
The sample application contains 2 files:
a)The php file (with input controls and the embedded world)
b)The embedded world (text file)
1. The php file accepts input from the user
2. The user hits Submit which creates the text file for the world
this works - the text file is created with changes. next the page
should refresh itself and show the world based on the user's input.
Right now steps 1 and 2 work perfectly in the sense that the text file
for the world does get created. however the page will still show the
older version of the text file.
To get the page to refresh properly, i have to hit the reload button on
the browser...this gives me the "this page can't be refreshed without
sending..." alert...but it then refreshes and shows the changes.
the code:
How can I refresh a page in a separate frame. For example, when someone logs in in the main frmae, I want to refresh another frame to display info differently.
View 4 Replies View RelatedI have a page that has mulitple iframes each of which grabs a web page.
he problem is I have no control over these web pages and some of them
have a refresh if they are not the top browser, probably some code like
this:
if (top.location != self.location) {
top.location = self.location.href;
}
Is there anyway I can prevent these occasional pges from taking control
oer my main page?
I have a web page with four frames in it. If,
within one of the frames, i use a javascript
function to do something like:
window.location = "app.cgi"
Only the frame that contains the JS will refresh.
I need to refresh all four frames from within one.
How do I do that??