capture download link and view the download link

Greetings,

I have some issue regarding jQuery in Bonitasoft. I called href download link in jQuery code but it is “undefined” when it run on browser. But, if I called the href in console, it displayed the download link.


I hope anyone here can help me. Thanks