Thanks, that was I remember that thomsing special with textarea and so
tried to set innerHTML instead of standart of .value

On 16 окт, 06:37, lfortin <[EMAIL PROTECTED]> wrote:
> Hi buda,
>
> Try to set the attribute "value" instead of innerHTML like this:
>
> textarea.value = textFromServer;
>
> or
>
> $(textarea).writeAttribute("value", textFromServer);
>
> On Oct 15, 2:42 pm, buda <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm sorry - maybe its not sutable forum but I dont take part in anyone
> > except this one
>
> > I have a textarea with wrap="hard"
> > it works as I expected
>
> > but when i tryed to set textarea.innerHTML = textFromServer it doesnt
> > wraps text onto lines
> > therefor linebreaks are present in textFromServer
>
> > what should I do?- Скрыть цитируемый текст -
>
> - Показать цитируемый текст -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to