By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,356 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

to open a file in firefox

P: 1
can any one give me piece of code that would help me to open a file with its associated default application. Need a plain html code.

when i click the link the file will be opened in the application with the help of file extension mapping by the browser..

Most important is that it should be work in both IE and Mozila FireFox, urgent.. help me
Jul 16 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,369
You can not code for that. The browswer will do whatever it is set up to do. If the user selects the option to download the file, it will download, if the user selects to open the file, it will open in the default application.
Jul 16 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.