How to re-enable initially disabled select item?
I have a select item in my page, which I added a custom disabled property on it to make the field initially disabled. Using javascript I am calling prop('disabled', false) to re-enable it.
Javascript does its job but my select item is still showing as disabled.
When I looked at the CSS. The placeholder button still has "ui-state-disabled" class on it. Related span and select item have "mobile-selectmenu-disabled" classes. Do I need to remove those classes manually using JS to make it work or is there a better way of doing it?