Click to See Complete Forum and Search --> : Show Hyperlinks in textarea


lebronletchev
07-03-2007, 01:16 AM
Hi

Could I show hyperlinks in textarea?

Thank you

LeBron

thamba
07-03-2007, 04:22 AM
Thats not really possible. You cannot show formatted html code inside of a textarea. The textarea displays html code as is, without formatting it.

One way out is to use a 'Rich Text Editor'. That will format html code and you can display hyperlinks and bold and lots of other things.

sticks464
07-03-2007, 08:22 AM
Clarify: Do you mean links within text or within a forms textarea? If it is within a form textarea the thamba is correct. If within plain text the the answer is yes. For a word in text it is <a href="path to file">word(s) here</a>

lebronletchev
07-04-2007, 12:31 AM
I know.

In DIV and in Iframe it is possible writing Hyperlinks. My problem I have a set of functions written in Javascript by another for working wirh <textarea> and I donīt how change some parameters to Iframe or DIV. Do you know?

For example:

str = theForm.pageContent.value;

document.form1.pageContent.value = opener.document.form1.pageContent.value;

var stuff=document.form1.pageContent.value.split('.');

var string=document.form1.pageContent.value;