Fork me on GitHub

layui 获取下拉框的值

form.on('select(category)', function(data){

  category = data.value;

  categoryName = data.elem[data.elem.selectedIndex].text

  form.render('select')

});

 

 

 

https://jetaime.top

posted @ 2020-08-14 09:28  君乐豹  阅读(761)  评论(0编辑  收藏  举报
Live2D