I am trying to build a PDF file out of a binary stream which I receive as a response from an Ajax request.
Via XmlHttpRequest I receive the following da
XmlHttpRequest
I changed this:
var htmlText = '';
to
and it worked for me.