K
kie
hi,
when i use appendChild, the following code ends in success
cellSec3=document.createElement('TD');
aTextBox=document.createElement('input');
aTextBox.type = 'text';
aTextBox.value = nz(s_unit_price);
aTextBox.size = '15';
aTextBox.name = 'txt_box'
aTextBox.onchange=onChangeEvent();
cellSec3.appendChild(aTextBox);
however, i would like to learn about the other attributes i can assign
to "aTextBox". does anyone know of any link to get me started?
As an example, I wish to change the alignment of the text inside my
text box, i have tried:
aTextBox.text-align = 'right';
aTextBox.style.text-align = 'right';
aTextBox.style.align = 'right';
among others, during searching i came across the term:
aTextBox.style.key = 1;
which does not seem to do anything, but causes no error, i'dg gratly
appreciate any help;
regards, kie
when i use appendChild, the following code ends in success
cellSec3=document.createElement('TD');
aTextBox=document.createElement('input');
aTextBox.type = 'text';
aTextBox.value = nz(s_unit_price);
aTextBox.size = '15';
aTextBox.name = 'txt_box'
aTextBox.onchange=onChangeEvent();
cellSec3.appendChild(aTextBox);
however, i would like to learn about the other attributes i can assign
to "aTextBox". does anyone know of any link to get me started?
As an example, I wish to change the alignment of the text inside my
text box, i have tried:
aTextBox.text-align = 'right';
aTextBox.style.text-align = 'right';
aTextBox.style.align = 'right';
among others, during searching i came across the term:
aTextBox.style.key = 1;
which does not seem to do anything, but causes no error, i'dg gratly
appreciate any help;
regards, kie