Quite embarrassing how much time I spend trying to get to download a zipfile from a button....
<button type='button' id='button-download'>download zipfile</button>
$("#button-download").live("click", function() {
$.get("http://localhost/admin/zip/002140.zip"); // doesn't work?
})
I need something bullet proof here, that's why I ask here, thanks.