Down From onClick - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Down From onClick

raykrayk Posts: 4Member
H ello,
I was just wondering if anyone can help me with downloading a document from an onClick button. Any help would be greatly appreciated, thank you.

Comments

  • ArashSayadiArashSayadi Posts: 10Member
    : H ello,
    : I was just wondering if anyone can help me with downloading a document from an onClick button. Any help would be greatly appreciated, thank you.
    :

    If the file is anything other than an html/text page (and any Office document in case users with IE 5+), then all you need to do is the following:



    where myFile.ext is the name and extension of the file you wish to allow the user to download.

    Good luck.


    Happy Computing,
    Arash Sayadi
    15530-B Rockfield Blvd. Suite 4
    Irvine, CA 92618
    949-830-1623 x36
    949-830-2120 Fax
    www.pts1.com
    [email protected]



Sign In or Register to comment.