Cast it as a TextAreaElement and then use getValue().

On Apr 1, 11:41 am, markww <[email protected]> wrote:
> Hi,
>
> I have a <textarea> in my html host file. I'd like to get its contents
> from my GWT app. I'm trying something like:
>
>   Document.get().getElementById("testId").getInnerText();
>
> but it's always empty. Is there a way to grab the value from a
> <textarea>?
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to