var item = value.split("|"); alert(item); if (item.length > 1) { if (item[0] == "org") { alert('请选择执法人员!'); return false; }
} return true; }