source:
tmcsimulator/trunk/webapps/common/js/displayutils.js
@
373
| Revision 373, 180 bytes checked in by jdalbey, 7 years ago (diff) |
|---|
| Rev | Line | |
|---|---|---|
| 1 | /** Hide an html element given its id */ | |
| 2 | function hideElementById(id) | |
| 3 | { | |
| 4 | // hide the element by setting css attribute | |
| 5 | document.getElementById(id).style.display = 'none' | |
| 6 | } | |
| 7 | ||
| 8 |
Note: See TracBrowser
for help on using the repository browser.
