In gwt, or in a JSNI method (tried both ways), I create a simple empty
div with id "uniqueId". I add it to the panel, and verify that it is
there using firebug.
In a pure javascript text editor (we're incorporating Codemirror),
onKeypress, I run document.getElementById("uniqueId"). This returns
null.
In GWT, DOM.getElementById("uniqueId"), or in JSNI,
$doc.getElementById("uniqueId"), both find it with no trouble.
--
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.