This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41062
    
  43
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Function to open word Document
 
Similar Threads
How to convert Word Doc to HTML using Java
Merging word documents server -side
Is it possible to open a word document in client side by javascript?
MS-Word Docs Access
Print Multiple Document