Help - Search - Members - Calendar
Full Version: Save web page with textarea contents offline
Weborum Webmaster Forum > Web Page Design > Javascript
sbattaio
Hi-

Simple question that may require a difficult 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
leo
Hi Sbattaio, welcome to Weborum smile.gif

I moved your post here, you posted it in the tutorial section, but no worries smile.gif

i'm not a javascript person so i can't comment on the particulars of the code but is it something you're written yourself or have you downloaded a rating script?

Leo
Willy Duitt
Just output the content of your rating form either to a new window using document.write or to a division on the same page using the DOM or innerHTML...

If you need more help you will need to provide either a link or the codes you are currently working with.... Preferably, a link....

.....Willy
sbattaio
Thanks for the tips. I appreciate the help. The solution was to use the form saveSnapshot behavior in IE. Thanks again!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.