Cannot use text() with document title tag in IE

Cannot use text() with document title tag in IE


Hi,
When I try to use text() to get text value from the document title tag
IE return an empty string (FF returns the correct value).
/* doesn't work in IE (6 and 7) */
var title = $("title").text();
alert(title);
/* works in all browsers */
var title = $("title").html();
alert(title);
However, if I instead use html(), it seems to work in all browsers.
Known bug or is it something that I have missed?
Thanks...