I am navigating to an external html page in jQuery Mobile application. the page takes a while loading i want to show loader in mean time but its not working.. here is what i have tried..
$(document).ajaxStart(function() {
// $.mobile.loading('show');
$.mobile.loading( "show", {
text: 'Please Wait!',
textVisible: 'true',
theme: "b",
textonly: 'true',
html: ''
});
});
$(document).ajaxStop(function() {
$.mobile.loading('hide');
});
I know rel="external" disables ajax, Is there there any way i can show this loader opening external links..?