📄 istrue.js
字号:
<!--//
//检查页数是否为空
function empty(){
if (document.form.page.value == ''){
window.alert('你还没填页数耶!~');
document.form.page.focus();
}
else{
return true;
}
return false;
}
//检查数据是否为空
function CheckForm()
{
if (document.form.adress.value.length == 0) {
alert("请选择所在地区!");
document.form.adress.focus();
return false;
}
if (document.form.showaddress.value.length == 0) {
alert("请填写详细地址!");
document.form.showaddress.focus();
return false;
}
if (document.form.homesize.value.length == 0) {
alert("请填写房子面积!");
document.form.homesize.focus();
return false;
}
if (document.form.name.value.length == 0) {
alert("请填写您的称呼!");
document.form.name.focus();
return false;
}
if (document.form.tel.value.length == 0) {
alert("请写上您的联系电话!");
document.form.tel.focus();
return false;
}
return true;
}
//检查是否有小孩子
function showxh(){
if (document.getElementById("xhqk").value != "还没有小孩") {
shg.style.display = "inline";
}else{
shg.style.display = "none";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -