{"id":52,"date":"2023-08-25T17:34:45","date_gmt":"2023-08-25T17:34:45","guid":{"rendered":"\/\/api.jquerymobile.com\/1.4\/?p=52"},"modified":"2023-08-25T17:34:45","modified_gmt":"2023-08-25T17:34:45","slug":"jqmRemoveData","status":"publish","type":"post","link":"https:\/\/api.jquerymobile.com\/1.4\/jqmRemoveData\/","title":{"rendered":".jqmRemoveData()"},"content":{"rendered":"<article id=\"jqmRemoveData1\" class=\"entry method\"><h2 class=\"section-title\">\n<span class=\"name\">.jqmRemoveData( prop )<\/span><span class=\"returns\">Returns: <a href=\"http:\/\/api.jquery.com\/Types\/#Object\">Object<\/a><\/span>\n<\/h2>\n<div class=\"entry-wrapper\">\n<p class=\"desc\"><strong>Description: <\/strong>Remove a previously-stored piece of data.<\/p>\n<ul class=\"signatures\"><li class=\"signature\">\n<h4 class=\"name\"><a id=\"jqmRemoveData-prop\" href=\"#jqmRemoveData-prop\"><span class=\"icon-link\"><\/span>.jqmRemoveData( prop )<\/a><\/h4>\n<ul><li id=\"jqmRemoveData-prop-prop\">\n<div><strong>prop<\/strong><\/div>\n<div>Type: <a href=\"http:\/\/api.jquery.com\/Types\/#String\">String<\/a>\n<\/div>\n<div>A string naming the piece of data to delete.<\/div>\n<\/li><\/ul>\n<\/li><\/ul>\n<div class=\"longdesc\" id=\"entry-longdesc\">\n\t\t<p>When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core&apos;s <code>removeData<\/code> method (note that this includes <code>$.fn.data<\/code>, <code>$.fn.removeData<\/code>, and the <code>$.data<\/code>, <code>$.removeData<\/code>, and <code>$.hasData<\/code> utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).<\/p>\n\t<\/div>\n<\/div><\/article>","protected":false},"excerpt":{"rendered":"<p>Remove a previously-stored piece of data.<\/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-52","post","type-post","status-publish","format-standard","hentry","category-methods"],"_links":{"self":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/52","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=52"}],"version-history":[{"count":1,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/52\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}