Re: Line breaks in textareas

From: Date: Mon, 30 Oct 2000 01:51:34 +0000
Subject: Re: Line breaks in textareas
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22591@lists.php.net to get a copy of this message
On Mon, 30 Oct 2000, Tyler Longren wrote: > Hello list, > > Is there anyway to detect line breaks in textareas? For example, when a > user hits the enter key, the cursor moves down a line. Is there something > to do this in the <textarea> tag? I've done this before, but I don't > remember how I accomplished it. > > Thanks, > Tyler Longren There is a non-standard attribute WRAP with values of NONE, VIRTUAL (causes line wrap within the textarea but doesn't add linebreaks) or PHYSICAL (as for virtual but inserts linebreaks). Is that what you mean? -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#22591) next »