Problem with textaarea in NS 6.0
Hello!I\'m trying to apply text into a textarea onChange from an select-tag.
Onchange call the method below, and pick a text from an array.
But this just works for 3 times in NS 6.0. After 3 times the textaarea doesn\'t \"repaints\", but if I type an letter (doesn\'t matter wich key) the text that I select from the select-tag appears in the TextArea!
I have tried the focus method, as you can se but nothing helps!
Hope for help!
Regards
Fredrik
/**********************************
** APPLY THE TEXT TO THE TEXT AREA
**********************************/
function applyText()
{
//alert(\"applyText: \");
for(var i = 0; i < texts.length; i++)
{
if(window.document.forms[\"dummyForm\"].oldtext.options[ window.document.forms[\"dummyForm\"].oldtext.selectedIndex ].value == texts[i][0])
{
if(gBrowser == \'NN\')
{
texts[i][1] = decodeSpecialChars(texts[i][1]);
document.forms[\"dummyForm\"].dummyText.value = texts[i][1];
document.forms[\"dummyForm\"].focus();
}
else
{
texts[i][1] = decodeSpecialChars(texts[i][1]);
document.forms[\"dummyForm\"].dummyText.innerText = texts[i][1];
}
}
}
}
