I want to know if readOnly attribute doesn't work for drop down list?
If I try disabled attribute, it works fine for drop down list. When I
try text box, it works fine for both disabled and readOnly attribute.
For example, #1 will work, but #2 doesn't work
1) <SELECT name="streetDir ection" class="FormInpu t" DISABLED>
In JavaScript, I have InputForm.stree tDirection.disa bled = false;
2) <SELECT name="streetDir ection" class="FormInpu t" readOnly>
In JavaScript, I have InputForm.stree tDirection.read Only= false;
any ideas? thanks!!
If I try disabled attribute, it works fine for drop down list. When I
try text box, it works fine for both disabled and readOnly attribute.
For example, #1 will work, but #2 doesn't work
1) <SELECT name="streetDir ection" class="FormInpu t" DISABLED>
In JavaScript, I have InputForm.stree tDirection.disa bled = false;
2) <SELECT name="streetDir ection" class="FormInpu t" readOnly>
In JavaScript, I have InputForm.stree tDirection.read Only= false;
any ideas? thanks!!
Comment