on the screen there's a button, when user clicks it, a function is called. this function is creating a pdf file, in the end of the function a pdf file is created and saved in tmp folder. I want to add some code at the end of that function that would open this file.
the code might be php, html, javascript, jquery..
I tried this-
"<script> window.open('tmp/file.pdf');</script>";
and it works but it opens up in the browser, and I need it to open up in adobe reader or any program that would normally open it if you just double click the file..

arcticM
adam.adamski.96155 43 Junior Poster

arcticM
adam.adamski.96155 43 Junior Poster

arcticM
adam.adamski.96155 43 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.