Closed Thread
Results 1 to 4 of 4

Thread: How to save ajax response?

  1. #1
    wojtekkk87's Avatar
    wojtekkk87 is offline Newbie
    Join Date
    Mar 2007
    Location
    Kamień ;) - POLAND
    Posts
    4
    Rep Power
    0

    How to save ajax response?

    Hi everyone,
    I'm starting with ajax and i'm trying to save my on the fly generated pdf file. But i have some problems. Could you give me some advices how should I do that?
    I'm geting it by response.responseText is that valid?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: How to save ajax response?

    When you say "save my on the fly generated pdf file" do you mean on the Server side or Client side (in JavaScript (client) or PHP/ASP/Perl/etc. (Server))? Also, what language are you using on the server side?

  4. #3
    wojtekkk87's Avatar
    wojtekkk87 is offline Newbie
    Join Date
    Mar 2007
    Location
    Kamień ;) - POLAND
    Posts
    4
    Rep Power
    0

    Re: How to save ajax response?

    Thanks for reply

    I mean client side, I would like to open "Save as" dialog or sth like this...
    I use PHP on server side.

  5. #4
    jhonichen's Avatar
    jhonichen is offline Newbie
    Join Date
    May 2009
    Location
    Jakarta, ID
    Posts
    20
    Rep Power
    0

    Re: How to save ajax response?

    to show the save as dialog, may be we can use javascript to redirect to pdf page, for example:
    window.location = 'url to pdf file / possibly php file that generate pdf file';
    or
    window.open('url to pdf file', 'openpdf','width=10px,height=10px,scrollbars=no,to olbars=no');

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to decompress Gzip and Chunked HTTP response?
    By sysman in forum C# Programming
    Replies: 0
    Last Post: 10-21-2011, 07:21 PM
  2. Replies: 2
    Last Post: 06-10-2011, 09:21 AM
  3. .net Remoting HttpWebRequest/Response isn't remotable?
    By arcozz in forum C# Programming
    Replies: 0
    Last Post: 03-24-2009, 12:08 PM
  4. ajax response as xml?
    By Orjan in forum AJAX
    Replies: 2
    Last Post: 03-17-2009, 07:25 AM
  5. gsosys Welcome Response
    By gsosys in forum Introductions
    Replies: 6
    Last Post: 05-16-2008, 10:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts