source:
companies/serpro/expressoAdminSerpro/js/jscode/computers.js
@
903
Revision 903, 303 bytes checked in by niltonneto, 15 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[903] | 1 | function search_organization(key) |
2 | { | |
3 | var organizations = document.getElementById('ea_combo_org_info'); | |
4 | var RegExp_org = new RegExp("\\b"+key, "i"); | |
5 | ||
6 | for(i = 0; i < organizations.length; i++) | |
7 | { | |
8 | if (RegExp_org.test(organizations[i].text)) | |
9 | { | |
10 | organizations[i].selected = true; | |
11 | return; | |
12 | } | |
13 | } | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.