Citation :
title A string representing the title of a document.Property of
document
Read-only
Implemented in
JavaScript 1.0
Security JavaScript 1.1. This property is tainted by default. For information on data tainting, see the Client-Side JavaScript Guide.
Description The title property is a reflection of the value specified between the TITLE start and end tags. If a document does not have a title, the title property is null.
Examples In the following example, the value of the title property is assigned to a variable called docTitle:
var newWindow = window.open("http://home.netscape.com" )var docTitle = newWindow.document.title
|