I want to disabled option on select without click any button. How can I do that? I tried this. use id on option in JS html code: JS code: From what I know from the code JS, option with id 02 will be disabled but it it does not work. I have tried search inside stack over flow but do