先来一张图

模仿级联单选多选
效果图

function tnTreeBox(id,name,data,selected){
	var obj = new _tnTreebox();
	obj.init(id,name,data,selected);
	obj.makeHtml();
	clickEvents()
}
代码块
 $(function(){
    tnTreeBox('treebox', 'checkboxname', data, []);
 })

代码上传github(https://github.com/gaodda/-Cascades)

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2021-08-19
  • 2021-11-13
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案