编辑下面的代码:【加编码】
<html> <head> <script type="text/vbscript"> sub mySub() x=MsgBox("Are you a programmer?",4,"Please answer") end sub </script> </head> <body> <button onclick="mySub()">Survey</button> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂