{"id":50,"date":"2023-08-25T17:34:45","date_gmt":"2023-08-25T17:34:45","guid":{"rendered":"\/\/api.jquerymobile.com\/1.4\/?p=50"},"modified":"2023-08-25T17:34:45","modified_gmt":"2023-08-25T17:34:45","slug":"jqmHijackable","status":"publish","type":"post","link":"https:\/\/api.jquerymobile.com\/1.4\/jqmHijackable\/","title":{"rendered":"jqmHijackable()"},"content":{"rendered":"<article id=\"jqmHijackable1\" class=\"entry method\"><h2 class=\"section-title\">\n<span class=\"name\">.jqmHijackable()<\/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>For users that wish to respect <code>data-ajax=false<\/code> parent elements during custom form and link binding jQuery Mobile provides the <code>$.fn.jqmHijackable<\/code> filter method.<\/p>\n<ul class=\"signatures\"><li class=\"signature\">\n<h4 class=\"name\"><a id=\"jqmHijackable\" href=\"#jqmHijackable\"><span class=\"icon-link\"><\/span>.jqmHijackable()<\/a><\/h4>\n<ul><li><div class=\"null-signature\">This method does not accept any arguments.<\/div><\/li><\/ul>\n<\/li><\/ul>\n<div class=\"longdesc\" id=\"entry-longdesc\">\n\t\t<p>For users that wish to respect <code>data-ajax=false<\/code> parent elements during custom form and link binding jQuery Mobile provides the <code>$.fn.jqmHijackable<\/code> filter method.\n\t\t<\/p>\n\t\t<dd>\n\t\t\t<dl>\n\t\t\t\t<dt>Settings:<\/dt>\n\t\t\t\t<dd>If, and only if, <code>$.mobile.ignoreContentEnabled<\/code> is set to true, this method will traverse the parent nodes for each DOM element in the jQuery object and where it finds a <code>data-ajax=false<\/code> parent, the child form or link will be removed from the set.<\/dd>\n\t\t\t\t<dt>Warning:<\/dt>\n\t\t\t\t<dd><div class=\"warning\">The operation of traversing all parent elements can be expensive for even small jQuery object sets.<\/div><\/dd>\n\t\t\t<\/dl>\n\t\t<\/dd>\n\t<\/div>\n<\/div><\/article>","protected":false},"excerpt":{"rendered":"<p>For users that wish to respect data-ajax=false parent elements during custom form and link binding jQuery Mobile provides the $.fn.jqmHijackable filter method.<\/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-50","post","type-post","status-publish","format-standard","hentry","category-methods"],"_links":{"self":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/50","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=50"}],"version-history":[{"count":1,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/posts\/50\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.4\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}