I have this page where a list of many files are there like
 a.jpg
 b.png
 c.php
 d.js
 e.pdf
 f.doc
They are all links and user can click on them and they are opened in a new tab. The problem is when a user clicks on JPG file it opens but when user clicks on DOC file instead of opening it prompts to download. How can i stop the download and open a blank page instead. Did a lot of searching but found nothing.
 
    