I have a mobile website that is used by various devices including some onboard computers running a locked down version of Windows Embedded 7 with IE 7. For some reason that I ca
if ('confirm' in window && typeof window.confirm === 'function' ) {
$(".logoff").click(function () {
return window.confirm("Are you sure you want to log off?");
});
}