Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

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

You are here: irt.org | FAQ | JavaScript | Link | Q939 [ previous next ]

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';

©2018 Martin Webb