Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Feature Request: Customized ajax calls #1183

Closed
filip26 opened this issue Mar 3, 2011 · 1 comment
Closed

Feature Request: Customized ajax calls #1183

filip26 opened this issue Mar 3, 2011 · 1 comment

Comments

@filip26
Copy link

filip26 commented Mar 3, 2011

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!

@toddparker
Copy link
Contributor

Thanks, added as a feature request here:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants