简体   繁体   English

Opera Mini是否支持window.confirm()

[英]Does Opera Mini support window.confirm()

Could someone tell me whether Opera Mini (versions 4 and up) support the window.confirm() javascript method? 有人能告诉我Opera Mini(版本4及更高版本)是否支持window.confirm()javascript方法?

If not, what value does the method return? 如果没有,该方法返回什么值?

var answer = window.confirm("Yes or no?");

Will answer be TRUE, FALSE, NULL or Undefined? 将回答为TRUE,FALSE,NULL或Undefined?

http://docstore.mik.ua/orelly/web/jscript/refp_434.html http://docstore.mik.ua/orelly/web/jscript/refp_434.html

either TRUE or FALSE 要么是TRUE,要么是FALSE

edit: and yes, for checking if it's supported read this thread: How to determine if window.confirm() is supported? 编辑:是的,检查是否支持读取此线程: 如何确定是否支持window.confirm()?

Opera Mini does support this method. Opera Mini确实支持这种方法。

Open this link in Opera mini to ensure . 在Opera mini中打开此链接以确保

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM