I have an anchor tag, with href to a page, where it will generate a PDF using TCPDF. It takes too much time to generate PDF. Meanwhile the interface page remain as such, it shows a loading icon on top of browser title bar. How can i show a loader on the interface, and this loader need to vanish after the download is completed.
Thanks in advance.