E
Elias Politakis
document.title according to MSDN is read only but IE allows you to set it
using script.
However, under unexplained circumstances that have to do with adding a
number of CSS links, it stops working for modal dialogs.
If you move the script code that sets the document.title after the <HTML>
tag and before the <HEAD> element, it always works...
I suspect it has to do with the DHTML object model that when title is set
programmatically, it injects a <TITLE> element but this is just a
speculation.
Is this a bug ?
Should we be using the document.title for setting the title of a document ?
using script.
However, under unexplained circumstances that have to do with adding a
number of CSS links, it stops working for modal dialogs.
If you move the script code that sets the document.title after the <HTML>
tag and before the <HEAD> element, it always works...
I suspect it has to do with the DHTML object model that when title is set
programmatically, it injects a <TITLE> element but this is just a
speculation.
Is this a bug ?
Should we be using the document.title for setting the title of a document ?