I have a a tag with href inside. When link is clicked a wanna download a file from my server. How can I do this. Here is my tag
" <a href=\""+ downloadPDF("xxx","xxx") +"\">
downloadPDF is a method which starts the download, but how to make the href link call this method?