I just made dropdowns that have their respective elements. What I want is to select an element on each dropdown and after clicking the apply button they can’t be edited anymore unless the edit button is clicked in turn the user can edit the dropdowns again using jquery
I just tried
document.getElementById("dropdown").disabled = true;
After clicking the button the dropdown is disabled. Is there any better way to do this.