I have a `importButton` that imports files:
Webpage Code:

```
<p:commandButton id="importBtn"
       action="#{importHandler.doImport}"
       value="#{i18n['admin.importFiles']}"
       onclick="importBtn.disable()"
       ajax="false"
       disabled="false" />

```

my aim is to disable or fade-out this import button once the import of the files is finished. [The process of importing works perfectly]
please any suggestions regarding how to solve this issue ?
Thank you in Advance !