Start file download using onclick...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yanick

    #1

    Start file download using onclick...

    Hi all,

    I'm creating an application for our needs and I want to make
    something using JavaScript, but I don't know how. Hope somebody will
    be able to give me hints on this.

    When I click on a button, I want to start a file download. When I click
    on the button, a new window open then the file download box appears. I
    want to automatically close this new window to prevent confusion with
    the users.

    I found a link on the internet that do exactly I want to do:
    http://www.vso-software.fr/download.htm and click on any "Download"
    link. You will see an empty window open, then it will close then the
    file download box will appear.

    Hope you will understand well what I want to do.
    Thanks to all.

    Regards,
    Yanick

  • Kevin Muenzler, WB5RUE

    #2
    Re: Start file download using onclick...

    Certain file types, like EXE, are forced to do this by the browser. I am
    also trying to cause the "save as" dialog box to pop up when a visitor
    clicks on an MP3 link.

    Any help is appreciated.

    Kevin
    wb5rue@yahoo.co m


    "Yanick" <neokimia@hotma il.com> wrote in message
    news:1105989789 .305160.115310@ z14g2000cwz.goo glegroups.com.. .[color=blue]
    > Hi all,
    >
    > I'm creating an application for our needs and I want to make
    > something using JavaScript, but I don't know how. Hope somebody will
    > be able to give me hints on this.
    >
    > When I click on a button, I want to start a file download. When I click
    > on the button, a new window open then the file download box appears. I
    > want to automatically close this new window to prevent confusion with
    > the users.
    >
    > I found a link on the internet that do exactly I want to do:
    > http://www.vso-software.fr/download.htm and click on any "Download"
    > link. You will see an empty window open, then it will close then the
    > file download box will appear.
    >
    > Hope you will understand well what I want to do.
    > Thanks to all.
    >
    > Regards,
    > Yanick
    >[/color]



    ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

    Comment

    Working...