Hello!
Depending on a selection in a drop down menue I'd like to change the size and maxlength of an input field:
[tt]
<select onChange="changeSize()" ...>
....
<input type="text" name="changeMe" size="5" maxlength="5">
[/tt]
I tried it with the style attribute. It works but unfortunately for style="width:5" you cannot say make it 5 characters long but only em, ex, pt, etc.
Also changing the max-width is not possible with IE6 which my users use.
So does anybody know hoe to do it differently?
Thanx for help!
Eva
Depending on a selection in a drop down menue I'd like to change the size and maxlength of an input field:
[tt]
<select onChange="changeSize()" ...>
....
<input type="text" name="changeMe" size="5" maxlength="5">
[/tt]
I tried it with the style attribute. It works but unfortunately for style="width:5" you cannot say make it 5 characters long but only em, ex, pt, etc.
Also changing the max-width is not possible with IE6 which my users use.
So does anybody know hoe to do it differently?
Thanx for help!
Eva