As in JQM even a single click is Ajax call...in my application when user click on any link a process indicator appears on screen...when processing indicator appears then user should not scroll the screen and background area should not be clickable i.e it should prevent from click.
i have written code:
disabelScroll()
{
$(document).on(scroll,function(event){
event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation();
});
$(document).on(scrollstart,function(event){
event.preventDefault(); event.stopPropagation(); event.stopImmediatePropagation();
});
}
I have called this function when my processing indicator starts...i.e. when ajax request is send
It does work on all mobile platform like android,iphone,ipad but in windows mobile it's not working. In windows mobile it does call disableScroll() but is doesn't stop its behaviour...i.e. when processing indicator is displayed user is able to scroll and can click which should not happen.
can anyone please help me in this issue?
It works fine in android,iPhone,ipad but it doesnt work in windows phone (Nokia lumia)