There currently aren't C++ bindings available for the DOM (that mirror the DOM available in JavaScript). They would have to be implemented. See the scripts in the WebCore/bindings/scripts directory.
Dave ----- Original Message ---- > From: zhenghe zhang <zhenghe.zh...@gmail.com> > To: webkit-dev@lists.webkit.org > Sent: Tuesday, March 17, 2009 3:03:46 AM > Subject: [webkit-dev] how to obtain the value of the html <input> by ID > > Hi all > I have a problem, I hope you tell me, thank you. > There is a js function: > > function alertValue() > { > alert(text1.value); > } > Now I want to know the javascript function how to obtain the value of > "text1" through the c++ functions, I hope you tell me, > Thank you & regards > zh _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev