I have PhoneGap-iOS Application for iPad where User will get Logout Popup as shown in Image below.
I want this popup to hide when User clicks on Body.
My code
which works on native browser is not working on iPad Simulator
.
$("body").ClickOrTouch(function (evt) {
if (!(evt.target.id == "launchUsername") {
$('#launchLogout').hide();
}
});