{"id":60,"date":"2023-08-25T17:34:46","date_gmt":"2023-08-25T17:34:46","guid":{"rendered":"\/\/api.jquerymobile.com\/1.4\/?p=60"},"modified":"2023-08-25T17:34:46","modified_gmt":"2023-08-25T17:34:46","slug":"jQuery.mobile.getDocumentBase","status":"publish","type":"post","link":"https:\/\/api.jquerymobile.com\/1.4\/jQuery.mobile.getDocumentBase\/","title":{"rendered":"jQuery.mobile.getDocumentBase()"},"content":{"rendered":"<article id=\"jQuery-mobile-getDocumentBase1\" class=\"entry method\"><h2 class=\"section-title\">\n<span class=\"name\">jQuery.mobile.getDocumentBase( asParsedObject )<\/span><span class=\"version-details\">version deprecated: 1.4.0<\/span>\n<\/h2>\n<div class=\"entry-wrapper\">\n<p class=\"desc\"><strong>Description: <\/strong>Utility method for retrieving the original document base URL.\n\t\t<div class=\"warning\">\n\t\t\t<p><strong>Note:<\/strong> jQuery.mobile.getDocumentBase is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Use the <a href=\"\/1.4\/jQuery.mobile.path.getDocumentBase\/\">jQuery.mobile.path.getDocumentBase()<\/a> method instead.<\/p>\n\t\t<\/div>\n\t<\/p>\n<ul class=\"signatures\"><li class=\"signature\">\n<h4 class=\"name\"><a id=\"jQuery-mobile-getDocumentBase-asParsedObject\" href=\"#jQuery-mobile-getDocumentBase-asParsedObject\"><span class=\"icon-link\"><\/span>jQuery.mobile.getDocumentBase( asParsedObject )<\/a><\/h4>\n<ul><li id=\"jQuery-mobile-getDocumentBase-asParsedObject-asParsedObject\">\n<div>\n<strong>asParsedObject<\/strong> (default: <code>false<\/code>)<\/div>\n<div>Type: <a href=\"http:\/\/api.jquery.com\/Types\/#Boolean\">Boolean<\/a>\n<\/div>\n<div>\n\t\t\t\tThe 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.\n\t\t\t<\/div>\n<\/li><\/ul>\n<\/li><\/ul>\n<\/div><\/article>","protected":false},"excerpt":{"rendered":"<p>Utility method for retrieving the original document base URL.<\/p>\n<p>\t\t\tNote: jQuery.mobile.getDocumentBase is deprecated as of jQuery Mobile 1.4.0 and will be removed in 1.5.0. Use the jQuery.mobile.path.getDocumentBase() method instead.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-methods"],"_links":{"self":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":1,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/60\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}