简体   繁体   中英

Enabling and Disabling Download button when downloading csv file

Hi I m trying to add functionality if I click on submit then csv file will be downloaded.Till the download is completed the button should not be enabled. Is there any way I can achieve that?

I am not sure what platform are you using, but you can add disabled attribute to button, using the client side script you can disable it right away and upon successfull download, mark the disabled attr to false again

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM