Home › Forums › JavaScript › [Solved] Hide element once option is selected in list › Reply To: Hide element once option is selected in list
September 20, 2013 at 3:55 am
#150697
Member
Isn’t ‘disabled’ an attribute and not a property?
I dunno…my JS fu (foo?) is bad.
Not sure if it will hide it or just ‘grey it out’ though.
Once it is has the disabled attribute/property, you could hide it with
option:disabled {
display:none;
}