Autocomplete
var form = $we.widget.add("Form", $('#form_container'), { form_elements:[ {label:'邮箱',name:'email',id:'email',expression:'email',events:'blur',require:true} ], commit:function(){ $we.comp.alert("提交表单喽"); } }); $('#form_container').show(); $we.widget.add('Autocomplete',$('#email'),{title:'请选择邮箱类型',ds:['@126.com','@163.com','@gmail.com','@sohu.com'],parse:'front'});