一、前台页面:

 <input />

二、JS代码:

$.ajax({
  url:baseCtx+"/actions/getListInfo.action",//获取数据库中包含ID和NAME字段的列表数据
  type : 'post',
  async : true,
  dataType : "json",
  success: function(data){ //data中有关于ID 和NAME字段的json数据
  //debugger;
  //调用combobox的loadData的方法加载数据
  $('#List').combobox('loadData',data);
  }
});

三、后台JAVA类

不做介绍了。同前面博客中action-bpo-mapper-xml中的写法。

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-06-13
  • 2021-11-20
相关资源
相似解决方案