
-----------------------------------
JSBN
Thu Jan 12, 2006 11:17 pm

Textarea &quot;enter&quot; to &lt;BR&gt;
-----------------------------------
basically, what i want is that when someone enters
Hello
how are you?
i get a string:
Hellohow are you?

thanks, JSBN

-----------------------------------
JSBN
Thu Jan 12, 2006 11:31 pm


-----------------------------------
nm, i got it

-----------------------------------
Jeevan25
Sat Jan 14, 2006 1:32 am


-----------------------------------
to make the site according to w3, use  instead of  br breaks the line so the text after it is shown in a new line.

-----------------------------------
md
Sat Jan 14, 2006 2:23 am


-----------------------------------
to make the site according to w3, use  instead of  br breaks the line so the text after it is shown in a new line.
That is slightly depended on what doc-type you are using, but yes for good measure use . That way when you decide to say move to the xhtml doc-type things are already mostly correct ;)

-----------------------------------
Jeevan25
Sat Jan 14, 2006 11:01 am


-----------------------------------
w3 is no recommeding   , xhtml due to broken tags in html. in order to pass w3 validation [which by the way this site doesn't have] the site should use xhtml. xhtml is easier to read than html.

-----------------------------------
octopi
Sat Jan 14, 2006 2:22 pm


-----------------------------------
Hey JSBN, would you mind posting your solution so that others on the board can learn.

Thanks.
