Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textarea with some parts of text locked

Status
Not open for further replies.

Masali

Programmer
Jun 19, 2002
143
SE
Hello!

Is it possible (maybe with javascript) to have a textarea like this:

[tt]
--------------------------------------------
|This text is editable. It can also be |
|longer when extra text is added. |
| |
| |
|This text is not editable. It is just |
|showed for the user. |
| |
| |
--------------------------------------------
[/tt]

The purpose of this is a mail program i am doing that needs to show earlier communication between the users. When replying a mail the earlier communication is the lower part of the textarea and the part in the top, is where the user should write the reply.

/Masali
 

Absolutely - that's going to be the easiest way. You cannot selectively block text in a text area to be locked.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
yes, maybe that's the easiest.. thanks for your replies
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top