Can anyone help with some alternative of confirm() function in JavaScript. In my legacy application this function is working fine in Internet explorer but has stopped working in chrome & Firefox.