Below is a code snippet used in the legacy application I am currently working on.
var x=confirm("Some Text");
if(x)
//Call method A
else
// Call method B
It was working fine till some days ago, but now it is not working in Chrome, but still good in IE.
Would it be something to do with the browser update?
Remove any ad blocker extension installed to your chrome and try again. Sometimes on applications which have large user base, a few users may mark pop up as ads. This will in turn block pop up/Confirm/Dialogue/Alert for all users who have that extension installed.
I had this problem once. Ad Block extension blacklisted alerts in my website.
NOTE: After removing extension, please close all instance of chrome. Requires a complete restart of chrome
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With