window.confirm()的参数问题,不能自定义‘ok','cancel'
以前没有注意这个问题。不想现在遇上了。
想请教一下window.confirm()的参数问题有几个,能不能自定义确认和取消字符串。
var bRes =window.confirm("Acronyms should be entered with the original term fully spelled in lower case followed by the acronym in parenthesis. For example, CPU should be entered as \"central processing unit (CPU)\". " + "\n" + "If you decide to leave it as is, this term will be subject for review and may take sometime to appear in the system.","Leave as is","Cancel");
在IE上,确认信息为ok cancel, 在Firefox 上,为“确认”,“取消”。自定义不起作用。
大家指点一下什么原因?