📄 addremark.js
字号:
function isValid(){
if (remarkInfo.teacherID.value=="")
{
alert("plaese input the teacherId!");
document.remarkInfo.teacherID.focus();
return false;
}
if (remarkInfo.studentID.value=="")
{
alert("studentId can't null!");
document.remarkInfo.studentID.focus();
return false;
}
if (remarkInfo.date.value=="")
{
alert("date can't null!");
document.remarkInfo.date.focus();
return false;
}
if (remarkInfo.remark.value=="")
{
alert("please input the remark!");
document.remarkInfo.remark.focus();
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -