Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 31st, 2005, 11:49 AM
Registered User
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to check if page is already loaded?

Hi there! this is my situation:
1. open window with specified URL that points to a website.
2. the website is redirected to another URL by script of that website.
3. get the URL the website was redirected to.

The problem is between points 2 and 3. How javascript might recognize if website is already reloaded, so it can get the new URL of it?

I tried to do something like that:
while (!newwindow.location)
{ }

but it returns address of blank page. Also tried to use:

<META HTTP-EQUIV="refresh" CONTENT="5; URL='+url+'">

in new window - no reaction.

Any answer would be very appreciated, thank you.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Synchronizing Page Loaded with Each Hit kylex Javascript How-To 1 February 20th, 2008 01:48 AM
check if page is loaded darkhalf Javascript 1 October 4th, 2005 05:26 AM
Check whether a form is already loaded madhukp VB How-To 1 September 8th, 2004 11:34 PM
adding content to an already loaded page adeptz Javascript 5 March 19th, 2004 06:53 AM
Page Loaded in Seconds Scripts hcweb Classic ASP Basics 8 February 25th, 2004 09:58 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.