function func(){
//点击输入框内容为空;
$('#signname').val("");
$('#signtel').val(""); if(!uid || (uid.length == 0)){
alert("请先登陆!!");
window.location.href = '/index.php/Public/index';
return false;//这里下面如果没有else---return false后的代码,alert后会继续执行;????
}else{
$('.shadow_div').css('display','table');//*****
$('.content1').css('display','block');
$('.content2').css('display','none');
$('.content3').css('display','none');
}
}
//点击输入框内容为空;
$('#signname').val("");
$('#signtel').val(""); if(!uid || (uid.length == 0)){
alert("请先登陆!!");
window.location.href = '/index.php/Public/index';
return false;//这里下面如果没有else---return false后的代码,alert后会继续执行;????
}else{
$('.shadow_div').css('display','table');//*****
$('.content1').css('display','block');
$('.content2').css('display','none');
$('.content3').css('display','none');
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货