This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Feature Request: Customized ajax calls #1183
Closed
Description
Motivation
To be able customize what happens when a page isn't part of DOM and isn't possible use buildin ajax handler that expects pre-formated text/html as a response, id as url. etc.
e.g.
-> 1 register callback
-> 2 changePage call
-> 3 it looks into DOM if the page exists
no
-> 4. on-page-load-callback call
returns page as string | element
-> 4.1 skip .ajax and integrate the string | element as a page
nothing
-> 4.2 use ajax call
Thanks!
Activity
toddparker commentedon Mar 14, 2011
Thanks, added as a feature request here:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests