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,
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,