download file in ajax

Discussion in 'JavaScript' started by seenms, Jan 31, 2008.

  1. #1
    Hi,

    Is it possible to write a file download functionality using ajax? If so, plz provide me with some sample code.

    thanks.
     
    seenms, Jan 31, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Err.. no. When you click a link to download a file, the browser asks you to save it. How would you want to involve AJAX?

    Be more specific...
     
    nico_swd, Jan 31, 2008 IP