Re: Putting default text into a TEXTAREA

Abigail (
Sat, 28 Sep 1996 17:15:02 -0400 (EDT)

Message-Id: <>
Subject: Re: Putting default text into a TEXTAREA
Date: Sat, 28 Sep 1996 17:15:02 -0400 (EDT)
From: "Abigail" <>
In-Reply-To: <> from "Peter Flynn" at Sep 23, 96 03:01:29 pm

Peter Flynn wrote:
++    Is there any way to give a browser user a way to edit text that is more than
++    one line long?  The TEXTAREA tag does not support VALUE=, and INPUT
++    with TYPE=TEXT is limited to 1 line.
++ Yes, but I guess it has to be generated dynamically from script:
++ 	echo \<textarea name=\"file\" rows=\"10\" cols=\"40\"\>
++ 	cat
++ 	echo \</textarea\>

I don't understand your remark. Why would a browser care if it's
generated from a script? A browser doesn't even have a way to
know. All it gets is a stream of characters from the server.

++ or something. Nottalottagood if you want to give someone lots of text,
++ but I suppose you could try <img src="foo.doc"> and make your server
++ emit Content-Type: application/msword and rely on users having their
++ browser configured to pop up Word :-)

Eh? I seriously doubt an msword doc is smaller than plain text.
Furthermore, msword doesn't run on many platforms. And most of all, it
will not be part of the textarea, and hence not directly edible.

++ Netscape Gold already has an "editor" enclosed. Surely it could have
++ a "Save back to browser" option under File?

Download Netscape Gold now?

++ Others: why not ship a copy of something small and light but good at
++ editing plaintext, like PFE, and preconfigure content type
++ application/x-plaintext to pop it up, and fix it to write back to the
++ browser.

I still don't see what's wrong with <TEXTAREA>.... No need to ship
anything, and good at editing plaintext.  Netscape for X windows lets
you even rebind the edit functions to different keystrokes if you want