wood burning stoves*
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

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

Joined: Mar 22, 2005
Posts: 42033
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
GeeCON Prague 2014
subject: Function to open word Document