"location.reload()" Doesn't Work For Netscape 7

Jul 20, 2005

"top.someFrameName.location.reload();" doesn't work for Netscape 7 (it
works for Netscape 4.75!).

Any idea how to fix this.

View 2 Replies


ADVERTISEMENT

Window.opener.location.reload (true) Doesn't Work?

Aug 13, 2009

I have a popup that contains a form. When I submit that form, I need 1) the data to get saved into my database, 2) the popup to close, and 3) the parent window to refresh and display the updated data.

I found the following code in an old thread, but the parent window still shows the old data after it appears to reload. The data is saved in the database, but the parent window only shows the updated data when I manually refresh it by hitting F5.

Code:
<form action="process_form.php" method="post" onSubmit="window.opener.location.reload(true); window.close();">

View 3 Replies View Related

Jquery :: Reload Location When Window Is Resizing - Firefox Won't Work?

Nov 24, 2009

I wonder why firefox won't work with this script below, but it works on IE, Safari, and Chrome instead?

Code:
$(document).ready(function(){
$(window).resize(function(){
location.reload();

[Code]....

The reason to reload the page is to reload the google map when the window is being resized.

Here is the link to look at, [URL]

View 2 Replies View Related

Document.location.reload(true) Vs Regular Refresh - Reload The Frame

Nov 17, 2010

Is there a difference between right clicking an iframe and reloading post reponse vs. using javascript to reload the frame? So far, the javascript route hasn't worked for me. [some context] I am writing a little bookmarklet to help me with the online registrations at my school. Here is the setup.

Load up a page on the domain. Remove all body elements. Insert an iframe. Set iframe to page for class roster search. (in iframe on school search page) Select class search options, POST the form data, and view results in frame. *This works perfectly, but I need to have it refresh results every minute or so. When I use frame.contentDocument.location.reload(true); the frame loses the post data or something and the page is broken. BUT when I just right click on the frame and select "reload frame" it works perfectly. What is the difference between rightclicking the frame and refreshing it like that vs. using javascript to reload the frame?

View 1 Replies View Related

Netscape Reload Framset

Jul 20, 2005

Is it possible to avoid Netcape to reload the frameset if the size of the
frameset is altered or if one of the frames is changed using i.e.
javascript? The issue is that one the frame contain a meny loaded from a
database that I want to avoid being reloaded when the "menu-frame" is
resized to "zero-width".

View 1 Replies View Related

Parent.location Problem Under IE And Netscape

Jul 23, 2005

I used php to generate the following html:

....

<meta content="text/javascript" name=Author
http-equiv="Content-Script-Type">

....
<option value="Words and Definitions" onClick="parent.location='#Words
and Definitions'">Words and Definitions</option>

.....

<a name="Words and Definitions">Words and Definitions</a>

....

What I want here is to let the user jump to the particular position
(using <a name=".."></a>, as shown) when choosing an item from drop-down
list (using <option value=...>, as shown).

The above html works well under netscape. It doesn't work under IE. Any
suggestions on how to make it work under both?

View 1 Replies View Related

Opener.location.reload()

Dec 10, 2002

I use this in my code :

opener.location.reload();

This works well in Internet Explorer and not in Netscape....

View 3 Replies View Related

Location Reload On Window Close

Jul 23, 2005

I'm popping a window to a page with a different dns than the parent, and
i want the opener's location reloaded when this window is closed.

With Mozilla it seems that all the opener's methods and properties are
protected because the dns are different. A security exception
(permission denied) is thrown every time i try to exec an
"opener.location.reload()" from the pop up window.

An alternative would be catching the window closing from the opener, but
i don't know how this could be done.

View 2 Replies View Related

Cross-frame Location.reload()

Mar 14, 2006

I'm having a hell of a job getting this to work in Safari: the only thing I can think of is that one can't use reload() across to another frame for security reasons. Does anyone have a concrete answer or solution for this? I'm trying to do this:

top.frames["mainContent"].location.reload();

View 9 Replies View Related

Pop-up Window Doesnt Work In IE8?

Dec 14, 2009

I use a basic pop-up window code that i have used for many years.I probably need to update it, but i was wondering why it will work for every browser but IE8.

function popUp(URL) {
day = new Date();
id = day.getTime();[code].........

View 2 Replies View Related

OnClick Doesnt Work In Mac?

Oct 7, 2009

I have this code, and it works fine in windows but not in mac, does anybody know why?

[Code]...

View 2 Replies View Related

Doesnt Work In FireFox

Sep 12, 2006

I have some Javascript that takes the input from some textboxes and then puts them all into a sentance automatically. It works perfectly in IE but not with FireFox... does anyone know how to make it work with both browsers?


HTML Code:
<script type="text/javascript">
function Text_Change() {
var TxtFName = document.getElementById("TxtFName");
var TxtSName = document.getElementById("TxtSName");
var TxtAge = document.getElementById("TxtAge");
var TxtLoc = document.getElementById("TxtLoc");

var SpnDisp = document.getElementById("SpnDisp");

var FName = TxtFName.value == "" ? "?" : TxtFName.value;
var SName = TxtSName.value == "" ? "?" : TxtSName.value;
var Age = TxtAge.value == "" ? "?" : TxtAge.value;
var Loc = TxtLoc.value == "" ? "?" : TxtLoc.value;

SpnDisp.innerHTML =
"Hello " + FName + " " + SName + ", " +
"you are " + Age + " years old and " +
"at the moment you live in " + Loc;
}
</script>

<body

<div><input type="text" id="TxtFName" /></div>
<div><input type="text" id="TxtSName" /></div>
<div><input type="text" id="TxtAge" /></div>
<div><input type="text" id="TxtLoc" /></div>

<div><span id="SpnDisp"></span></div>

View 5 Replies View Related

Works Sometimes And Doesnt Work Sometimes?

Jun 8, 2011

im working on my online portfolio and I have an external javascript file that has functions to add a piece to the collection...here is the link to my pageillustratorthe javascript file is herehttp://www.freewebs.com/harrisonengl...ngleweb/add.jsas you see some of the pieces will show up, and some wont. they are all going off the same function, and all work when i run the html off my computer harddrive rather than the freewebs server.Also, i understand that formatting of the site will get all messed up when it is ran in different browsers... for instance it works in firefox and safari now, but not IE and Chrome

View 5 Replies View Related

Doesnt Work On Firefox?

Sep 29, 2010

I have this simple validation function for my form

<script language="javascript" type="text/javascript">
function validateyesvalue(document){
if(!document.getElementsByName('RadioGroup2_0')[0].checked && !document.getElementsByName('RadioGroup2_0')[1].checked && !document.getElementsByName('RadioGroup2_0')[2].checked &&

[Code]...

It's only validating in IE not in Google Chrome and not in Firefox, any idea how to fix this ?

View 14 Replies View Related

Location.Reload Function Gets Stuck In Loop

Apr 30, 2009

I am trying to use the onclose function on phatfusions multibox in order to refresh the parent window when the multibox is closed. The problem I have is that as soon as I load the page it gets stuck in a loop. The code I am using is as follows
Code:
var box = {};
window.addEvent('domready', function(){
box = new MultiBox('ab', {descClassName: 'multiBoxDesc',onClose:location.reload(true),useOverlay: true});
});

View 2 Replies View Related

Window.location.reload Behaves Randomly?

Aug 6, 2010

i am invoking window.opener.location.reload function from a pop up window to reload the parent page. But this seems to behave randomly. Sometimes the reload would preserve form data eg. the state of the drop down lists. On some other occasions, it would reset all the drop down lists and form data. Does window.location.reload resend form data to the server?

View 1 Replies View Related

Why Doesnt ONCLICK Work From Some Machines?

Jul 23, 2005

Are there any compatibilty issues associated with teh following command?

<div onclick="open('http://www.mysite.com.htm','','')">Main page </div

It worked on a PC butnot on a MAC (bith with IE).

View 2 Replies View Related

Function Doesnt Work Without An Alert()

Apr 25, 2006

I have this code in actionscript that calls javascript:

actionscript:

zoom_in = function () {
var tw1:Tween = new Tween(mc_1, "_width", Regular.easeOut,
mc_1._width, 0, 1, false); //OK
var tw2:Tween = new Tween(mc_1, "_height", Regular.easeOut,
mc_1._height, 0, 1, false); //OK
ExternalInterface.call("zoom");
}

javascript:

function zoom()
{
top.resizeTo(1024, 768);
self.moveTo(0,0);
}

Everything works perfectly on Firefox 1.5 but not on IE 6+

in IE the "zoom" function doesn't work, but if I add an alert it DOES work:

function zoom()
{
alert('this works');
top.resizeTo(1024, 768);
self.moveTo(0,0);
}

View 1 Replies View Related

Confirm Box Doesnt Work In FireFox?

Feb 13, 2009

Using Firefox 3, trying to use a confirm box where it says ok or cancel. The box shows up to confirm ok or cancel but if I click cancel it doesnt seem to return false, it just goes to the link of the url set in href. Im including the js file in the page:

Code:
<script src="js/forms.js" type="text/javascript"></script>
I then call it in the link:

[code]....

View 3 Replies View Related

Image Link Doesnt Work?

Jul 21, 2010

I have no idea why my image link doesnt work

myimages[{$i1}]=["banners/{$object->image}", "{$object->link}", "_new"] ;

View 3 Replies View Related

Click Slide Up And Down Doesnt Work?

Jun 23, 2010

I wanna create a functionality where on clicking a (minus) button a div show slide up and and the image should change to (plus). Again on clicking the plus button. the content div should slide back out

[Code]...

View 2 Replies View Related

Moving Iframe To Different Location On Page Without Causing It To Reload?

Jul 4, 2009

I have an iframe somewhere on my page. Now on click of a link, I would like to show it in a different location on the same page, BUT I don't want it to reload again. I've tried this simple method but it doesn't do it because the iframe reloads in its new location.

<script type="text/javascript">
function move(what, where)
{
document.getElementsByID(where).innerHTML = document.getElementsByID(what).innerHTML;
}
</script>
[Code]...

View 2 Replies View Related

Document.location.reload(false) Fails To Go To #anchor

Aug 5, 2011

Code:
<a name="loc"></a>
<a href="#loc" onClick="document.location.href='#loc'
document.location.reload(false);return false">Click here to go to your location</a>

When you click onto the link you should go to the page location marked by the anchor tag "loc", however, upon clicking you go to the top of the page and never redirected to the exact spot where your anchor tag is located. Why is that? I'm using IE6 (per requirement) as my platform.

View 9 Replies View Related

JQuery :: Ajax Call Doesnt Work In IE?

Jul 5, 2010

i have a set of select fields, which when selected, send a value via ajax, to return a sub-selection for further choice. I have 3 levels of sub-categories like this. For some reason it works in FF only - not IE. [URl]..

View 12 Replies View Related

JQuery :: .animate({}) Doesnt Work With ZIndex?

Apr 10, 2011

Animate doesnt seem to work with zindex. I dont see anywhere this is mentioned on the animate() page.

$("#myelement").animate({zIndex: 10})
.animate({opacity: 1), 1000);

Opacity is affected but not zIndex. I can change zIndex the normal way though:

$("#myelement").css('zIndex', '10');

View 9 Replies View Related

JQuery :: Doesnt Work When Uploaded To Server?

Jun 30, 2011

it was working fine when i viewed it using my local host but when i uploaded it to the server it doesn't want to work anymore. i made sure all the files are in the proper folder and so on..still no progress. Then uploaded the original or "demo folder" i got from this site and it works, but my site doesnt. I combined 2 jquerys btw, one apycom jquery and one booklet jquery. Both works in local host but in my site, only the apycom works. pls help me out..[URL]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved