Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to save page with textarea info offline

    Hi-

    Simple question that may require a complex answer...

    I am setting up a student web page where they view an image and make comments about it. I would like to have them make the comments directly on the web page that contains the image they are viewing and then be able to save the page, complete with comments in the textarea, for offline viewing/printing. So far the only way I have found of inputting text on the page is by using a textarea form. However, this text cannot be printed out nor can it be saved/viewed offline within the web page itself. It must be copied/pasted to a separate program such as Notepad or Word, and that defeats the whole intent of this activity. Is there any other way to do this? Is there a javascript that can handle what I'm trying to accomplish? Any suggestions would be appreciated. Thanks in advance!

    -=SB

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,081
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    JavaScript cannot write to or read from files. Only server-side languages
    such as Perl, PHP and ASP can do this.

    Why is it that almost every first-time poster includes "Thanks in advance"?
    Please be good enough to thank people for helping you afterwards, and not before.

  • #3
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Internet Explorer implements persistence mechanisms (such as the saveSnapshot object/behavior).
    *this message will self destruct in n-seconds*

  • #4
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you for the help. By the way, "Thanks in advance" is just a polite expression. It has been my experience when assisting other people in a forum they may post "Thanks in advance" in their original mesage which is then followed-up with a direct "Thank you" after they have been helped. Personally I've never had a problem with it.

  • #5
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    846
    Thanks
    15
    Thanked 10 Times in 10 Posts
    I don't see why there would be a problem with it.
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #6
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Got It!

    Hey Codegoboom-

    Thanks for the help! I read the MS tech page from your post and also picked up a few more off the MS site. That is just what I needed. Security concerns will not be an issue with this particular application of "savesnapshot".

  • #7
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by sbattaio
    "Thanks in advance" is just a polite expression. It has been my experience when assisting other people in a forum they may post "Thanks in advance" in their original mesage which is then followed-up with a direct "Thank you" after they have been helped.
    yes, but many don't. they just expect you to help them no questions asked. like it's your duty to attend to them whatever else is happening. that really puts my back up.
    *keep it simple (TM)

  • #8
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanking in advance is helpful when you cross-post your questions on multiple forums and know that you will not return to acknowledge replies on any given forum once you find the solution elsewhere...

    http://forum.weborum.com/index.php?showtopic=2424&hl=

    .....Willy

  • #9
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Willy Duitt
    Thanking in advance is helpful when you cross-post your questions on multiple forums and know that you will not return to acknowledge replies on any given forum once you find the solution elsewhere.
    that would be why it's never been a problem to him, then.
    *keep it simple (TM)

  • #10
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,081
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Quote Originally Posted by jbot
    yes, but many don't. they just expect you to help them no questions asked. like it's your duty to attend to them whatever else is happening. that really puts my back up.
    Quite so, jbot! Thank you for your comment. That is exactly my point - they seem to take your assistance for granted. In my view it is plain rude, and doubly so for a newcomer to the forum.


  •  

    Posting Permissions

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