That did the trick ;).. Thanks, it works when using getAttribute().
I tried that before, but got an exception because I was doing a
getAttribute() on a text Note (using instanceof Element instead of
Element.is(..) ;).

And from this stackoverflow post, I thought that I should use getProperty()
after reading Daniel his explanation:
LINKE<http://stackoverflow.com/questions/8590302/gwt-element-setattribute-vs-setpropertystring>

A bit confusing this Property/attribute thing...
- Ed



On Thu, Jul 4, 2013 at 8:48 PM, Jens <[email protected]> wrote:

> To be more precise:
>
> You can use getProperty() for actual properties like id. A list of all
> properties of a DOM element:
> https://developer.mozilla.org/en-US/docs/Web/API/element
>
> For everything else you have to use getAttribute().
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/_W_6ZLRHhm0/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to