[webkit-dev] how to obtain the value of the html <input> by ID

David Kilzer ddkilzer at webkit.org
Tue Mar 17 05:55:46 PDT 2009


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.zhang at gmail.com>
> To: webkit-dev at 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


More information about the webkit-dev mailing list