var options=$("#aa option:selected");
if(options.val() == "请选择"){
layer.alert('至少选择一个消息类型!',{icon: 5,area:'500px'});
return;
if(options.val() == "请选择"){
layer.alert('至少选择一个消息类型!',{icon: 5,area:'500px'});
return;
}
var params = $("#addUsertable").serialize();
if($('#subType').val()=='add'){
sendRequest(basePath + '/a/b.do',params, function(data) {
if(data.data){
layer.open({
content: '新增成功!'
,icon: 6,area:'500px',title:'提示',
btn: ['继续添加', '返回']
,yes: function(index, layero){
//按钮【按钮一】的回调
layer.closeAll('dialog');
document.getElementById("addUsertable").reset();
}
,btn2: function(index, layero){
layer