By using following script we can remove the options of Optionset.
var optionSetControl = Xrm.Page.getControl(<Control ID>);
if (optionSetControl != null || optionSetControl != undefined) {
optionSetControl.removeOption(1);
}
By using following script we can remove the options of Optionset.
var optionSetControl = Xrm.Page.getControl(<Control ID>);
if (optionSetControl != null || optionSetControl != undefined) {
optionSetControl.removeOption(1);
}