blob: 2f4c25a788bb90bf9f0374282048c2816f7e112d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
function hide_table_array(ar) {
for(i=0; i < ar.length; i++) {
toggleMe(ar[i]);
};
}
function clientdetailload() {
toggleMe('bad_table');
toggleMe('modified_table');
toggleMe('extra_table');
}
function toggleMe(elementId) {
var element = document.getElementById(elementId);
if (element) {
element.style.display = (element.style.display != 'none' ? 'none' : '');
var plusminus = document.getElementById("plusminus_" + elementId);
if (element.style.display == 'none') {
plusminus.innerHTML = "[+]"
} else {
plusminus.innerHTML = "[−]"
}
}
}
function pageJump(elementId) {
url = '';
element = document.getElementById(elementId);
if (element) {
url = element.value;
}
if (url) {
location.href = url;
}
}
|