layui.use(['layer', 'form'], function(){ var layer = layui.layer ,form = layui.form; var $ = layui.jquery; function classEvent(className,searchClassName,callback) { var options={ attributes:true,//观察node对象的属性 attributeFilter:['class']//只观察class属性 };…