Does Opera Mini support window.confirm()
-
29-06-2021 - |
문제
Could someone tell me whether Opera Mini (versions 4 and up) support the window.confirm() javascript method?
If not, what value does the method return?
var answer = window.confirm("Yes or no?");
Will answer be TRUE, FALSE, NULL or Undefined?
해결책
Opera Mini does support this method.
다른 팁
http://docstore.mik.ua/orelly/web/jscript/refp_434.html
either TRUE or FALSE
edit: and yes, for checking if it's supported read this thread: How to determine if window.confirm() is supported?
제휴하지 않습니다 StackOverflow