Just hit this issue and I'm completely influenced by how it's going to be.
The web application is being created using ASP.NET MVC3. The operating system is set in the master page:
& lt;% @ master language = "c #" inheritance = "system.web.u.masterpages"%> & Lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Head runat = "server" & gt; & Lt; Title & gt; & Lt; Asp: ContentPlaceHolder ID = "TitleContentRoot" runat = "server" /> & Lt; / Heading & gt; & Lt; Asp: ContentPlaceHolder id = "CssContentRoot" runat = "server" & gt; & Lt; / ASP: ContentPlaceHolder & gt; & Lt; Script type = "text / javascript" & gt; Console.log (document.doctype.name); & Lt; / Script & gt; & Lt; / Head & gt; On a given page in the app, I call it:
console.log (document.doctype.name); In the latest Google Chrome, Firefox, and IE10 / 9 - all output HTML.
IE8, like a winner, shows an error that the doctype is undefined:
Unable to retrieve the 'name' properties of the undefined or empty reference
I'm not changing anything in Google's search about something like this. Anyone have any ideas what I can find? Right now I'm probably rendering the MVC 3 master page incorrectly in IV8.
It happens even when I do not see a master page completely on the new project page, but JS Bell does not have it.
Note: Internet Explorer 8 and earlier,
No comments:
Post a Comment