I want the title of a document

G

Greg Brewer

I am trying to retrieve the title of a document.

The following works
-------
var special = window.open("Special/t.html","subWindow", "width=1,height=1");
if (special)
{
document.write("<a href='Special/t.html'>",special.document.title,"</a><br
/>");
special.close();
}
else
document.write("failed. :-(");
---------
however there is some flash as it draws the window and places it on the
Windows taskbar then removes it.

Is there a better way to get the title?
Is there a way to block display of the window?

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top