jquery bigautocomplete 文本框自动查询提示插件

使用说明:

	//国家
	var $ttCountry = $("#tt_country");
	var ttCountryWidth = $ttCountry.width();
	$ttCountry.bigAutocomplete({
        width : ttCountryWidth,
        filedId : "currentYear",
        url : ctx+"/common/searchCountry.action",
        callback : function(data){
        	if(data==null ){
        		$("#deptId").val("");
        	}else{
        		countryId = data.result.countryId;
        		$("#deptId").val(countryId);
        	}
        }
    });

 

 

你可能感兴趣的:(jquery bigautocomplete 文本框自动查询提示插件)