Hi All,

I have <input type="text" id="someId"/>

Then i am doing DOM.getElementById("someId").setAttribute("value",
someValue);

Then i am getting exception

com.google.gwt.core.client.JavaScriptException:
*(TypeError): this.setAttribute is not a function
fileName: http://127.0.0.1:8888
lineNumber: 38
stack: ("value","Rs. 500 to Rs. 9500")@http://127.0.0.1:8888:38
@:0
([object GWTJavaObject],5439490,[object XMLHttpRequest])@
http://127.0.0.1:8888/faregugly/hosted.html?faregugly:56
([object Event])@http://127.0.0.1:8888:44
((function () {__gwt_makeJavaInvoke(1)(handler, 5439490, _this);}),[object
XMLHttpRequest],[object Object])@http://127.0.0.1:8888:59
@:0*
*
*
*Any idea pls.*
*
*
*I just want to set the value of the textField dynamically present in my
html. How can i do this.*
*
*
*
*
*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