{"id":56,"date":"2026-08-10T21:48:10","date_gmt":"2026-08-10T21:48:10","guid":{"rendered":"https:\/\/api.jquerymobile.com\/1.3\/?p=56"},"modified":"2026-08-10T21:48:10","modified_gmt":"2026-08-10T21:48:10","slug":"jqmHijackable","status":"publish","type":"post","link":"https:\/\/api.jquerymobile.com\/1.3\/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":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-methods"],"_links":{"self":[{"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":1,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/posts\/56\/revisions\/57"}],"wp:attachment":[{"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jquerymobile.com\/1.3\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}