Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 31st, 2005, 11:49 AM
Registered User
 
Join Date: Jul 2005
Location: , , .
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)
{ }
newurl=newwindow.location.href;

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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.