HTML code

60 pts.
Tags:
HTML
I have a file on my site I want to off a click button point?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.
Is this the html code 

Using Javascript  


Print that specific word file, using javascript.

something like  <input type=”button” onclick=”Print(wordfile.doc);”> 

But i am unsure on the correct procedure.

Any help would be greatly appreciated.

Easynow

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    The question is not understandable.

    Please re-word it, to increase your chances of getting useful responses.
    84,745 pointsBadges:
    report
  • Subhendu Sen
    Your query is bit confusing. Have you already coded for file uploading / downloading by button click, If yes, what errors are there. Please back with more details.
    138,940 pointsBadges:
    report
  • Spenser
    This is the simplest thing 

    This piece of code for the CLICK ~ PRINT Button prints the PAGE I am on 

    I want the click button to print a file on my wed site 

    What should the target be please ?  

    <a Title="Print Word Doc " alt="print word"
    Onclick="window.print(); "target="_blank"
    Style="cursor:pointer;">print button</a>
    60 pointsBadges:
    report
  • Spenser
    No error ~ I want the click button to print word doc "printdoc.doc" on my web site 

    I did it last year; I just don't remember where to put "printdoc.doc" in the code 

    Funny, I can print img=printimage.jpg 
    60 pointsBadges:
    report
  • Spenser
    Add your re<form>
    <input type="button" value="Print this page" onClick="window.print()"
    </form>ply...
    60 pointsBadges:
    report
  • Spenser
    How about this?
    <a href="whatever.htm" onClick="window.print();return false">
    <img src="print.gif"></a>
    What command would I use instead to print a word doc instead of an img?
    60 pointsBadges:
    report
  • blockhead67
    how do I unlock my apple account? It was locked because I forgot my password.I tried it to many times.
    30 pointsBadges:
    report
  • blockhead67
    I forgot my apple ID password. do any of you know a way like a formula or a way? I have an iMac for a computer.
    30 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: