function myScore(){
var score=document.getElementById('score').value;
if (score!=''){

if (score==0){
alert('好吊、居然考零分!相必你直接交白卷吧!^_^');
}
else if (score>0&&score<60){
alert('好惨!居然挂科了!!!_(:3』/_)_');
}
else if (score>=60&&score<70){
alert('好幸运!勉强算及格!!!^_<');
}
else if (score>=70&&score<90){
alert('好算可以啦。考的还不错!!!^o^');
}
else if (score>=90&&score<100){
alert('哇!!!你好优秀噢。读书分子!!!!^3^');
}
else if (score==100){
alert('我x!!!学霸啊。^_^^o^(^.*)@.@★.★');
}
else{
alert('能输入正常分数么?0-100!!!一_一|||');
}
}
else{
alert('请输入分数!!!@_@');
}
}


Back to home | File page

Subscribe | Register | Login | N