Execute Server side handler from anchor
You can call server side handler and write code there to download the file.
That will be the best technique.
Follow the answer - Download audio file on html anchor link click independant of browser action
jQuery library for client-side
If you want to do it in client-side better to use jquery.fileDownload.js Library