Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Save contents of text area to file

 
mark geroso
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have the following code:

Opening the save dialog works and I can save the file, but the file(s) I do save contain nothing...
What am I doing wrong?
 
Tim LeMaster
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see any calls to fw to actually write anything to the file.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Opening the save dialog works and I can save the file, but the file(s) I do save contain nothing...

also check that you close the writer
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!