-----032-Window-Confirm.html-----
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 5 <title>标题</title> 6 </head> 7 <body> 8 <script type="text/javascript"> 9 if(confirm("你说你二不二?")) 10 alert("你说你二你说你二不二?"); 11 else 12 alert("你不说你二你说你二不二?"); 13 </script> 14 </body> 15 </html>