W3cubDocs

/jQuery Mobile

jQuery.mobile.getDocumentUrl()

jQuery.mobile.getDocumentUrl( asParsedObject )Returns: Stringversion deprecated: 1.4.0

Description: Retrieve the URL of the original document.

Note: jQuery.mobile.getDocumentUrl is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Use the jQuery.mobile.path.getDocumentUrl() method instead.

  • jQuery.mobile.getDocumentUrl( asParsedObject )

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

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquerymobile.com/jQuery.mobile.getDocumentUrl