<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>window.open</title>
<script type="text/javascript">
function Wopen(){
var myad=prompt("学生成绩");
if(myad==90){
document.write("优秀");
}
else if(myad==80){
document.write("良好");
}
else{
document.write("其他");
}
</script>
</head>
<body>
<input name="button" type="button" onClick="Wopen()" value="点击我,打开新窗口!" / >
</body>
</html>
OlderSkee
摩诃迦叶
qq_仩菅燚颩_03814659
相关分类