JavaScript基础知识1
- 使用windows.alert()弹出警告框
<script type=text/javascript>alert(\"这里输入要弹出的内容!\"); //直接弹出警示框var name = \"小明\"; //先定义变量var age = 18;alert
<script type=text/javascript>alert(\"这里输入要弹出的内容!\"); //直接弹出警示框var name = \"小明\"; //先定义变量var age = 18;alert