W3cubDocs

/jQuery Mobile

jqmHijackable()

.jqmHijackable()Returns: Object

Description: 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.

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.

Settings:
If, and only if, $.mobile.ignoreContentEnabled is set to true, this method will traverse the parent nodes for each DOM element in the jQuery object and where it finds a data-ajax=false parent, the child form or link will be removed from the set.
Warning:
The operation of traversing all parent elements can be expensive for even small jQuery object sets.

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