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