I tried "elem.getAttribute("value")".  It unfortunately, didn't change
the behavior.

As for using a text box, this example is a dumbed down version of what
I'm doing.  The real application is integrating GWT as part of other
(non-GWT) JavaScripts.  The other JavaScripts are inserting data into
an input field.  I would like to read those values from the GWT part
of the application. If there is a better way, I'm open to
suggestions.  I merely added the HTML element to better simulate the
situation I'm in.  I guess the sample code isn't a good example.  I
don't have a direct access to the Element object.  I would have to get
element by ID (the commented out lines in my example).

I guess, the real question is how do I get non-GWT javascripts to talk
to GWT?
I'm also curious to why it works in IE and hosted mode but not other
browsers.  I thought GWT was (thankfully) suppose to take care of
browser differences.

Thanks


On Sep 16, 7:08 am, "Danny Schimke" <[EMAIL PROTECTED]> wrote:
> You init an element with "com.google.gwt.user.client.Element elem
> = DOM.getChild(inputHTML.getElement(), 0);" and then you wanted to get the
> value "val = DOM.getElementAttribute(elem, "value");". Why you do not try to
> get the value by "elem.getAttribute("value")"? Or use a TextBox instead
> HTML("... your textbox as html- code ...") and work with getter- method(s)
> to get the value from outside. When I have enougth time I'll try your code:
> first and foremost, it looks really good... ;) See U L8er

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