3.2.0

AW.HTML.TEXTAREA lost value?

I am trying a AW.HTML.TEXTAREA.

var area=new AW.HTML.TEXTAREA;

I typed some words into it. I used area.getContent("text"), and I got "undefind" result.

I can use "area.element().value" to get what I typed in. However, if the area is in another tabs, I will get an error by using this way. For example, if the area is in tab page1, and I call

var text=area.element().value;

in tab page2. I will get an error.

Is there any better idea to work around it?

Thanks,
mrhsh
May 6,
I guess you already noticed that this is the default Tabs behaivour, unless doing some hiding/showing objects or use any other method ( to keep it's values ).

Cheers
Carlos
May 7,

This topic is archived.

See also:


Back to support forum