/jQuery Mobile


jQuery.mobile.path.getDocumentBase( asParsedObject )

Description: Utility method for retrieving the original document base URL.

  • jQuery.mobile.path.getDocumentBase( asParsedObject )

    • asParsedObject (default: false)
      Type: Boolean
      The function normally returns the original document base URL as a string. However, if you specify a truthy value for this parameter, the original document base URL will be returned in a hash as a parsed URL.

© The jQuery Foundation and other contributors
Licensed under the MIT License.