增加学校列表查询时,如查询条件为空,增加提示
This commit is contained in:
parent
ef95835bc6
commit
90e28518f2
|
@ -50,8 +50,14 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function ssearch(){
|
function ssearch(){
|
||||||
//alert($("#key_word").val());
|
//alert($("#key_word").val());
|
||||||
value = $("#key_word").val();
|
var value = $("#key_word").val();
|
||||||
province = $("#province").val();
|
var province = $("#province").val();
|
||||||
|
//alert(value);
|
||||||
|
if(value == "")
|
||||||
|
{
|
||||||
|
alert("搜索条件不能为空");
|
||||||
|
return;
|
||||||
|
}
|
||||||
//alert(province);
|
//alert(province);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type :"POST",
|
type :"POST",
|
||||||
|
|
Loading…
Reference in New Issue