Ich möchte die Datei herunterladen, während Sie auf den Link klicken.Convert base64string in herunterladbare Datei mit Javascript
<a href="javascript:download(375,untitled.png,image/x-png,*base64bytestring*)" >untitled.png</a>
JavaScript-Code
function download(id,name,contenttype,filebyte)
{
}