[Javascript] dom/javascript question regarding Internet Explorer
Howard Jess
hjess at cardomain.com
Fri Jul 20 11:15:06 CDT 2007
Each browser has its own idea of how to properly deal with the TITLE element,
but the only reliably consistent way is to use document.title. (This is a DOM0
property, but documented in DOM1.)
Mozilla browsers let you work as you show: getting the first textnode child
of the title element. Note that even Mozilla doesn't support multiple textnode
children of the title element, though. And IE doesn't support children of the
element at all.
Use document.title.
--
hj
More information about the Javascript
mailing list