|
|
Q1759 How can I create an option in a select statement with a particular style?
irt.org | Knowledge Base | JavaScript | Form 1 | Q1759 [ previous next ] Q1759 How can I create an option in a select statement with a particular style?If you have a SELECT statement named "myselect" using the following
it will create an option, subscript 1, coloured red. However, if you want to change the font attributes you have to do this on the select statement itself:
Note that the style names in CSS are converted to camelCase, thus font-family becomes fontFamily. |
-- div -->
|