ajax提交表单+loading效果
$(function() {
$('#send_submit').click(function() {
var txt_title = $.trim($('#txt_title').val());
var txt_name = $.trim($('#txt_name').val());
var txt_loupan = $.trim($('#txt_loupan').val());
var txt_phone = $.trim($('#txt_phone').val());
var txt_mianji = $.trim($('#txt_mianji').val());
if(!txt_name) {
layer.alert('请填写您的姓名', {icon: 5});
return false;
}
if(!txt_name.match(/^[/u4E00-
共有 0 条评论