Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

document.getElementById

It is mentioned that 'id' needs to be of type ID but it is not explained how this is accomplished. Typically the DTD will handle the typing but with XBL new elements are introduced which may not be mentioned in the DTD.

Document Tags and Contributors

 Contributors to this page: Phreed
 Last updated by: Phreed,