I need a smart solution for setting textareas attributes. I do have a lot of textareas at the page. Some are disabled and some are not. It depend on user logged in and selections made. All of the textareas are 'required' by custom class 'class="reqformtextbox validate[required]"',
What I want is to scroll/find textboxes and set its class to class="reqformtextbox"
, effectively removing 'required' attribute for the textboxs which are currently disabled by 'disabled="disabled"' attribute.