//添加提示框
$('#modal-header').after(
'<div id="myAlert" class="alert alert-warning">'+
'<a href="#" class="close" data-dismiss="alert">×</a>'+
'<strong>警告!</strong>'+message+'。'+
'</div>'
);
//自动隐藏
setTimeout(function(){
$('#myAlert').remove();
},1000);