怕自己忘了,记录下来以后用方便

html部分

<input id="rzcode" name="businesItemId"  style="width: 100%; height: 100%;border:none" class="easyui-combobox" data-options=""  />

JS部分

var arrayData = new Array();//创建空数组
var aryData = new Array();//创建空数组
$(document).ready(function(){
//先用ajax获取到下拉框全部的数据,并放到数组一里
$.ajax({
async:false,//同步加载
type:"post",
url:"${ctx}/basic/businessItem/list/all?campId=${campId}&groupId=${groupId}",
dataType:"json",
success: function(data){
arrayData = data
}
});
      //combobox操作
$('#rzcode').combobox({
         //先把全部数据复制 
valueField: 'id',
textField: 'name',
data:arrayData,
         //数据改变时
onChange:function(newValue,oldValue){
if(newValue != ""){
for(var i=0;i<arrayData.length;i++){
var code = arrayData[i].code;
var ss = code.indexOf(newValue);
                //输入的newValue是否匹配原有数据的code
if(ss != -1){
                   //先清空第数组二,再重新放到数组二里
aryData = new Array();
aryData.push(arrayData[i])
}
}
              //修改数据
$(this).combobox("loadData", aryData);
}else{
              //如果输入空格,依然还是全部的数据
$(this).combobox("loadData", arrayData);
} },
});

大体效果

输入空格 或 全部删除后

加载全部

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXIAAADqCAIAAAAwBFnEAAAUFklEQVR4nO3dP27jxt+AcR9OB2FFLHIEgl0ANwmm5m83ztrM5gIseIMgTd6AdRB3gWDJQCC7sJ0oWr0F/81whtKYpEiO9HyKxCvTNrUyn/1yJJtXNzc3P/zww6dPnz5+/Pi///1vDwD9XJEVAMMiKwAG1jEru91us9ms1+slgEGtVqunpyenj7uOWXl+fl6v16+vr9vLsFwuHx4evn79avn3A3T233//rddrY1lcOe46ZmW1Wr28vEy98+NZLpf//PPPoN88QKvdbvfw8KDf7spx1zEry+Vy6j0f1XK5HPTbBjjC+C3nynFHVqyQFYyMrJw/soKRkZXzR1YwMrJy/sgKRkZWzh9ZwcjIyvkjKxgZWTl/ZAUjIyvnj6xgZGTl/JEVjIysDCqLgyDOirdEut2movhz9X6/JoTwFcq2gzmclaurqy7fOEC76bKSqoeU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ilZPRltG5MEiWvQiyDrke3iCjy3GRoTEtesF0HuLiGrr3adVkLrvoo8S5MECUn9CDJNK7EpP3+nfH251fAR5xqLGoKEpF4EWR+FvqrcV/SV43pB6x1IVllxPXoRZJ8RJCQRpAVBQhJBWhAkJBGkBUFCEkFaECQkEaQFQUISQVoQJCQRpAVBQhJBWhAkJBGkBUFCEkFaECQkEaQFQUISQVoQJCQdHeRsNttsNhcsRBhBQlLHP2ledFcJMkmS+Xx+O00SJCSFYbhYLJrb9e7umvuiW0KQEBOGYZZlxl1Fd/Ugbw1BQswh32wESZAQQpB2BAkxBGlHkBBDkHYECTEEaUeQEHN0kFmWJUkSx/Flb0VIIkiIOTrI5XIZx/F6vb70HXshBAlJbQ8G6OqPzq1Wq0tnIocgIant0TkdD5cTJIS0PVyuI0iChBCCtCBISCJIC4KEJIK0IEhIIkgLgoQkgrQgSEgiSAuChKRDgvwfg1IFUyWBzmcAAAAASUVORK5CYII=" alt="" />

easyui combobox 动态加载数组数据的更多相关文章

  1. EasyUI datagrid动态加载json数据

    最近做一个项目,要求是两张张表可能查找出10多种不同的结果集. 如果想只用一个表格就把全部的结果不同的显示出来那么就肯定不同使用固定的字段名字,要通过动态加载后台返回来的数据把它显示出来就必须动态加载 ...

  2. easyui combobox 动态加载数据C#

    <script type="text/javascript" src="Scripts/jquery-1.8.2.min.js"></scri ...

  3. easyui combobox 动态加载的两种方法

    reload 方法 javascript代码 //指定id 和 text 否则始终选择第一个 $('#contact_city').combobox({ valueField:'id', textFi ...

  4. geotrellis使用(二十三)动态加载时间序列数据

    目录 前言 实现方法 总结 一.前言        今天要介绍的绝对是华丽的干货.比如我们从互联网上下载到了一系列(每天或者月平均等)的MODIS数据,我们怎么能够对比同一区域不同时间的数据情况,采用 ...

  5. Echarts使用及动态加载图表数据

    Echarts使用及动态加载图表数据 官网:http://echarts.baidu.com/ 1.文档 2.实例 名词: 1.统计维度(说明数据) 维度就是统计致力于建立一个基于多方位统计(时间.地 ...

  6. Echarts动态加载后台数据

    注意:1.用Ajax请求获取后台数据 2.Echarts只能处理Json数据 后台Controller:根据业务需求不同而返回不同数据,我前台要循环遍历Echarts的series进行数据添加,所以后 ...

  7. Echarts使用及动态加载图表数据 折线图X轴数据动态加载

    Echarts简介 echarts,缩写来自Enterprise Charts,商业级数据图表,一个纯JavaScript的图表库,来自百度...我想应该够简洁了 使用Echarts 目前,就官网的文 ...

  8. selenium模块跳过用户名密码验证码输入,加载浏览器标签和cookie,进行翻页爬虫多页动态加载的数据(js)

    能解决登陆一次后,之后不需要二次登陆的动态加载数据,网页保存的cookie和标签,加入到selenium自动化测试浏览器中 1 from selenium import webdriver 2 imp ...

  9. 使用 Cesium 动态加载 GeoJSON 数据

    前言 需求是这样的,我需要在地图中显示 08 年到现在的地震情况,地震都是发生在具体的时间点的,那么问题就来了,如何实现地震情况按照时间动态渲染而不是一次全部加载出来. 一. 方案分析 这里面牵扯到两 ...

随机推荐

  1. Keras常用层

    Dense层:全连接层 Activatiion层:激活层,对一个层的输出施加激活函数 Dropout层:为输入数据施加Dropout.Dropout将在训练过程中每次更新参数时按一定概率(rate)随 ...

  2. js-jquery-SweetAlert2【二】配置与方法

    一.配置 Argument Default value   Description title null 模态对话框的标题.它可以在参数对象的title参数中设置,也可以在swal()方法的第一个参数 ...

  3. java 多线程 day18 ThreadPoolExecutor

    http://blog.csdn.net/lipc_/article/details/52025993 https://www.cnblogs.com/trust-freedom/p/6681948. ...

  4. mybatis 中jdbctype和javatype的对应关系

    1:mybatis 中jdbctype和javatype的对应关系 JDBC Type Java Type CHAR String VARCHAR String LONGVARCHAR String ...

  5. PAT Sum of Number Segments[数学问题][一般]

    1104 Sum of Number Segments(20 分) Given a sequence of positive numbers, a segment is defined to be a ...

  6. 学习Mysql的记录贴 记录的内容是 指令的试用

    前言:操作系统是WIn7 64位 旗舰版   ,Mysql的版本是mysql-5.7.10-winx64 是社区版 就是所谓的最后的免费版本. 下载后 解压 然后配置my.ini文件. ××××××× ...

  7. python3 requests 进行接口测试、爬虫使用总结

    Requests 是第三方模块,如果要使用的话需要导入.Requests也可以说是urllib模块的升级版,使用上更方便. 这是使用urllib的例子. import urllib.request i ...

  8. STM32示波器 信号发生器

    源: STM32示波器 信号发生器

  9. TortoiseGit 访问https远程仓库,上报SSL证书错误解决方法

    报错 在使用TortoiseGit时,clone自己搭建的gitlab报如错SSL certificate problem: self signed certificate 原因:自行搭建的gitla ...

  10. 视觉SLAM漫谈 (三): 研究点介绍

    1. 前言 读者朋友们大家好!(很久很久)之前,我们为大家介绍了SLAM的基本概念和方法.相信大家对SLAM,应该有了基本的认识.在忙完一堆写论文.博士开题的事情之后,我准备回来继续填坑:为大家介绍S ...