alert ("我是一个警告框!"); ... window.confirm() 方法可以不带 window 前缀来编写。 实例. var r = confirm("请按按钮"); if (r == true) { x = "您按了确认!
確定! 回上一頁