Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q939 Why does location = url cause problems in Internet Explorer 4?

irt.org | Knowledge Base | JavaScript | Link | Q939 [ previous next ]

Q939 Why does location = url cause problems in Internet Explorer 4?

Using the following will cause problems on Internet Explorer 4:

location = 'next.html'

This method of altering the documents location is now deprecated in favour of altering the windows location, preferably the window locations href property:

location.href = 'next.html';

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.