HTML Forms: <fieldset disabled>
Adds the disabled attribute to fieldset elements in Chrome and Safari.
currently removeAttribute('disabled') and setAttribute('disabled', ...) will not work as expected.
HTML
<div class="row RowPadding">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<div class="form-group inputDnD">
<form:input
class="form-control-file text-warning font-weight-bold image-file"
path="imageOne" type="file" accept="image/*" name="imageOne"
id="imageOne" size="50" onchange="readUrl(this)"
data-title="Desktop-Wallpaper Wallpaper(1920X1080px)"></form:input>
</span> <span class="fileinput-filename"></span>
</div>
<span id="imageOne_image" style="color: red;"></span>
<span id="errordesk" style="color: red;display: none;" >Invalid Desktop Image</span>
</div>
</div>