<script type="text/javascript">
function test() {
var s = document.getElementById("classes");
if(s.selectedIndex==0)
{
alert("请选择课程");
return false;
}
return true;
}
</script>
转载于:https://www.cnblogs.com/chengzi123/p/4129536.html
<script type="text/javascript">
function test() {
var s = document.getElementById("classes");
if(s.selectedIndex==0)
{
alert("请选择课程");
return false;
}
return true;
}
</script>
转载于:https://www.cnblogs.com/chengzi123/p/4129536.html