增加学校列表查询时,如查询条件为空,增加提示

This commit is contained in:
sw 2014-07-14 15:45:38 +08:00
parent ef95835bc6
commit 90e28518f2
1 changed files with 8 additions and 2 deletions

View File

@ -50,8 +50,14 @@
<script type="text/javascript">
function ssearch(){
//alert($("#key_word").val());
value = $("#key_word").val();
province = $("#province").val();
var value = $("#key_word").val();
var province = $("#province").val();
//alert(value);
if(value == "")
{
alert("搜索条件不能为空");
return;
}
//alert(province);
$.ajax({
type :"POST",