Does confirm() work in android mobile on chrome? Does confirm() work in android mobile on chrome? google-chrome google-chrome

Does confirm() work in android mobile on chrome?


1. Yes. Android chrome does support confirm().

It is as simple as this to test:

From my android chrome I visited the W3Schools Try it site.

HERE

This is the screenshot from my android device.

I found it no different from the desktop chrome.

2. My suggestion is to debug step by step:Why don't you try something obvious like this to test.

if(confirm("Answer call?") == true)alert("Inside if");else alert("Inside else");  

Most likely, the issue is with call.answer(window.localStream). You may think in this terms or provide more info for us to understand.


Of course it does support that. But after a few triggers it will automatically block them if they are in a loop.