- var balance_cell = document.createElement('TD');
-
- var balance_input = document.createElement('INPUT');
- balance_input.setAttribute('name', 'balance'+<% $opt{prefix} %>rownum);
- balance_input.setAttribute('id', 'balance'+<% $opt{prefix} %>rownum);
- balance_input.style.textAlign = 'right';
- balance_input.setAttribute('size', 8);
- balance_input.setAttribute('maxlength', 12);
- balance_input.setAttribute('rownum', <% $opt{prefix} %>rownum);
- balance_input.disabled = true;
- balance_input.style.backgroundColor = '#dddddd';
- balance_cell.appendChild(balance_input);
-
- row.appendChild(balance_cell);
-