As we check if the option in select tag does not, how can we hide it?
I have checked the existence of an option by:
data_name="Class1"
if ( $("#select_id option[value=data_name").length > 0 ){
//add css to the option
//How to access the option. I want to do (option).css('display':'none')
}
How to access the option here?