javascript - Opening Pdf on Google Chrome -


opening local pdf works if specify url , access data dynamically created @ server , fails.

url : "test.pdf" // works

url: "api/items/301/convert/pdf" // fails (ajax call, see attached imageenter image description here)

i using pdf_object.js a javascript interface open pdf files in browser


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

javascript - Chart.js - setting tooltip z-index -