Hi there,
I use
$this->oDocx->createDocxAndDownload($sFileName);
to download the file, it works, but the file ist stored on server, too.
To download the file I use this JS.
$('#reportBtn').on('click', function (e) {
e.preventDefault();
$(this).prop('disabled', true);
var _iframe_dl = $('<iframe />')
.attr('src', url)
.hide()
.appendTo('body');
})
Did someone has a suggestion, why this is happen?
Cheers
KR