日期:2014-05-16 浏览次数:20369 次
var submitValues = form.getForm().getValues(); for (var param in submitValues) { if (form.form.findField(param) && form.form.findField(param).emptyText == submitValues[param]) { form.form.findField(param).setValue(' '); } }
var accountUsername = Ext.get('accountUsername').getValue(); if(Ext.getCmp('accountUsername').emptyText == accountUsername){ Ext.getCmp('accountUsername').setValue(''); }