File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Function to open word Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Function to open word Document" Watch "Function to open word Document" New topic
Author

Function to open word Document

Shrikanth Nekkanti
Ranch Hand

Joined: Jul 12, 2007
Posts: 48
I want to open a word document when user clicks on a button.
can anybody tell me how to write javascript function for this.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41523
    
  53
If you put a link to the document on the page, then Word will most likely be opened automatically once the user clicks on it.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Function to open word Document