3.0.5

Why does text disappear from a textarea after changing tab?

If i create a textarea via AW.HTML.TEXTAREA the text disappears after changing tab. Anyone have a clue?

Thanks,
Rick
Rick Henzel
July 11,
Rick, not sure how are you treating textarea contents, but I never got any issue mixed with tab-controls (you mean tabs-control-changed right??)
Anyway I am using
objtexta.setContent('value', 'text goes here');
HTH
Carlos
July 11,
Yes i'm using that, but if i change the text, go to another tab and back, the text is back to the standard text and not to what i made it.

If i change the text in a input and do the same with the tabs, the text will stay to what i made it.

Greetings
Rick Henzel
July 12,
Maybe just need a refresh() (as any HTML standard object ? )
i.e. objtexta.refresh();
Cheers
Carlos
July 12,
Uppss , Sorry, I was asuming that you always set the textarea content dinamically , but if you type inside need something like:

function recordtextA(){
texta.setContent('value', texta.element().value );
alert( texta.getContent('value') );
}

var texta = new AW.HTML.TEXTAREA;
texta.setContent('value', 'text goes here');
texta.setEvent('onkeyup', recordtextA );

document.write(texta);

Thanks
Carlos
July 12,
Thanks, you're a hero...
Rick Henzel
July 12,

This topic is archived.

See also:


Back to support forum