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

Q436 How do I amend the title of the current document?

irt.org | Knowledge Base | JavaScript | Document | Q436 [ previous next ]

Q436 How do I amend the title of the current document?

You can try amending the title property - in older browsers this property is read only. You can do is something like:

<script LANGUAGE="JavaScript"><!--
window.title = 'This is *my* title';
//--></script>

Paul Fazio writes:

In Internet Explorer 5.x (I haven't tried it in Internet Explorer 4.x yet) you can use:

document.title = "Your new title";

to place the date and time in the title bar, and even to create a real time clock in the title bar by updating the title every second.

Feedback on 'Q436 How do I amend the title of the current document?'


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.