Type something here

Download text area into text file

Simply pass it the text to be appended. For example, this code reads an external text file into a TextArea using the Read method of the Readable class interface. The text is read in groups of 1000 characters until the end-of-file is reached.

ABBY Manual - Free download as PDF File (.pdf), Text File (.txt) or read online for free. CAD Studio file download - utilities, patches, service packs, goodies, add-ons, plug-ins, freeware, trial - CAD freeware

Some suggestion: A "save to file" method without a valid file is useless. If the file is null your method is a no-op without a warning for the user.; Code reuse: your code works with TextArea only. A better solution would be a String argument instead of TextArea.

Dynamic Drive Forums > General Coding > JavaScript > Save