A Conversation for The H2G2 Programmers' Corner

Help on JavaScript

Post 1

Baryonic Being - save GuideML out of a word-processor: A7720562

I am using JavaScript in a web page and I have used the window.navigate() command to browse to a new page within a script.

This works fine in Internet Explorer, but not in Mozilla.
Is there a way to get it to work in Mozilla, or should I use a different command?


Help on JavaScript

Post 2

Dark Master - The end is now (2005/03/01) Officially Left

You could use
window.location = 'http://www.google.com';
seems to work for me using mozilla for windows (using WIN XP)

Dark Master


Help on JavaScript

Post 3

Baryonic Being - save GuideML out of a word-processor: A7720562

Thank you very much.


Key: Complain about this post

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more