1

I have a module for download file, and have a button "Download", now I want when I click on "Download", button will disable and when finish button will enable. How can I do that?