Results 1 to 2 of 2

Thread: How to open and save text files using Javascript ?

  1. #1
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to open and save text files using Javascript ?

    Hi

    First of all, let me tell you that this is not a homework question, since i am no longer in college, i don't get homework.

    Ok now to the question => Can you please give me a little example java script to open and save text files

    Thank you in advance

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This cannot be done with javascript alone. If you mean on the server, you would have to gate to server side code. This could be done with something AJAX'y, or with a simple form (no javascript required), and various methods in between and the server-side code would vary depending upon what if anything that does that is available to and enabled for you on that server.

    If you mean on the user's computer, there is Active X in IE and Java (not javascript) for others, as well as IE. These are subject to heavy security restrictions though.

    What exactly are you trying to do?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •