mozilla
Your Search Results

    Document.documentURI

    Returns the document location as string. It is read-only per DOM4 specification.

    Syntax

    var string = document.documentURI;
    

    Notes

    HTML documents have a document.URL property which returns the same value. Unlike URL, documentURI is available on all types of documents.

    Specifications

    Document Tags and Contributors

    Last updated by: teoli,
    Hide Sidebar