<form class="layui-form" action="">
<div class="layui-form-item">
<div class="layui-input-inline">
<select name="quiz1" lay-filter="quiz1">
<option value="10" selected="">每页显示10条</option>
<option value="30">每页显示30条</option>
<option value="50">每页显示50条</option>
</select>
</div>
</div>
</form>
layui.use(['form'], function(){
var form = layui.form
,layer = layui.layer;
form.on('select(quiz1)', function(data){
console.log(data.elem); //得到select原始DOM对象
console.log(data.value); //得到被选中的值
console.log(data.othis); //得到美化后的DOM对象
});
})

更多精彩文章请关注 王明昌博客