Dynamically changing textbox to multiline
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Message-ID | <[email protected]> |
I am trying to dynamically change a single line textbox to multiline when a user pastes in text containing newline characters.
The problem is that when I do "setAttribute('multiline', true)" the textbox is converted to multiline, but the value in the textbox is lost. Is this a bug or am I missing something?
Thanks for the help
Aurimas