layui 获取下拉框的值

 

 

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

  category = data.value;

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

  form.render('select')

});

 

 

 

https://jetaime.top   heiheihei

posted @ 2017-12-06 19:36  jetaime鱼  阅读(10530)  评论(0编辑  收藏  举报