You could use the jQuery ajaxSuccess event handler 
(http://api.jquery.com/ajaxSuccess/), and in the ajaxSuccess event handler, 
check for the special header via xhr.getResponseHeader('name-of-header'). 
>From there, you'll have to figure out what to do, based on how jQuery 
Mobile works (I'm not really familiar with it).

Anthony

On Monday, December 5, 2011 6:31:52 PM UTC-5, Constantine Vasil wrote:
>
> Your approach is better. 
>
> "On the client side, have some JS code that runs upon successful Ajax 
> completion and looks for that header."
>
> How you would do that?
>

Reply via email to