MDC says that document.doctype is a read-only property. However, I remember 
that setting the document.doctype to null (or something similar) will set the 
page to quirks mode.

Anton

On Wednesday, May 11, 2011 at 3:42 PM, Rey Bango wrote: 
> Hey all,
> 
> Got asked this question today and didn't have an answer. Is it
> possible to change the doctype of a page using JavaScript?
> 
> Rey
> 
> -- 
> To view archived discussions from the original JSMentors Mailman list: 
> http://www.mail-archive.com/[email protected]/
> 
> To search via a non-Google archive, visit here: 
> http://www.mail-archive.com/[email protected]/
> 
> To unsubscribe from this group, send email to
> [email protected]
> 

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to