I have problem with TEXTAREA HTML tags in my Web application (MS IE 6.0).
User fills-in content of TEXTAREA on HTML dialog window.
After accepting, content of TEXTAREA from dialog window is copied to
TEXTAREA on main HTML window:
wndTxtArea.value = dlgTxtArea.value;
Then user may take the text for editing in HTML dialog window once more.
The problem arises when text to be copied is multiline. First time it is
displayed properly after copying. Next time - when user calls editing
dialog once more and changes text content - only its old content is
displayed; however, after editing even single char in TEXTAREA on main
window, the whole updated content is being refreshed.
Actual content of wndTxtArea is right, since is copied back to dlgTxtArea
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 content properly.
Trying to show some alert with additional info just after copying:
wndTxtArea.value = dlgTxtArea.value;
alert"Copied!");
causes wndTxtArea to be displayed properly.
Have anybody got any advices ?
Regards,
Krzysztof
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
Essential .NET: building applications and components with CSharp
August 30 - September 3, in Los Angeles
http://www.develop.com/courses/edotnet
View archives and manage your subscription(s) at http://discuss.develop.com