I have problem with TEXTAREA HTML tags in my Web application (MSIE 6.0).
User fills-in content of TEXTAREA on HTML dialog window.
After accepting, content of TEXTAREA from dialog window is copiedto TEXTAREA on main HTML window:
wndTxtArea.value = dlgTxtArea.value;
Then user may take the text for editing in HTML dialog windowonce more.
The problem arises when text to be copied is multiline. Firsttime it is displayed properly after copying. Next time - whenuser calls editing dialog once more and changes text content -only its old content is displayed; however, after editing evensingle char in TEXTAREA on main window, the whole updatedcontent is being refreshed.
Actual content of wndTxtArea is right, since is copied back todlgTxtArea properly; only its display is not up to date.
Selecting and copying visibly incomplete content of wndTxtArea,and then pasting it e.g. to Notepad reveals its full contentproperly.
Trying to show some alert with additional info just aftercopying:
wndTxtArea.value = dlgTxtArea.value;
alert"Copied!");
causes wndTxtArea to be displayed properly.
Have anybody got any advices ?
Regards,
Krzysztof
--------------------------------
From: Krzysztof Fink-Finowicki
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>lhEWLIAWQk2nazQ99YeA4A==</Id>