window.confirm( )方法显示一个带有提示信息和确认按钮的警示框。
举一反三
- 智慧职教: 在window对象中,()方法表示显示带有一段消息和一个确认按钮的警告框
- 在Javascript中,关于winfow对象描述不正确的是 ( ) A: window.history属性是指有关客户访问过的URL信息 B: window.confirm( )方法显示一个带有提示信息和确认按钮的警示框 C: window.location="a.html"和window.location.href="a.html"的作用都是读取并显示a.html内容 D: window.reload( )方法可以用来刷新当前页面
- 在window对象中,()方法表示显示带有一段消息以及确认按钮和取消按钮的对话框。 A: alert() B: prompt() C: confirm() D: open()
- 显示带有一段消息和一个确认按钮的警告框可以使用() A: prompt() B: alert() C: confirm() D: open()
- 【单选题】在JavaScript 中,关于alert() 和confirm() 方法的说法正确的是() A. alert() 和confirm() 都是 window 对象的方法; B. alert() 和confirm() 方法功能相同 C. alert() 方法的功能是显示一个带有“确定”和“取消”按钮的对话框 D. confirm() 方法的功能是显示一个带有“确定”按钮的对话框