获取id为editForm的表中中所有input元素的对象
$(':input', $('#editForm'))
获取每个input中name和val:
var ret = {};
$(':input', $('#editForm')).each(function() {
var nm = $(this).attr('name');
var vl = $(this).val();
if (Utils.isNotEmpty(nm) && Utils.isNotEmpty(vl)) {
ret[nm] = vl;
}
});