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

zhenghe zhang zhenghe.zhang at gmail.com
Tue Mar 17 03:03:46 PDT 2009


Hi all
I have a problem, I hope you tell me, thank you.
There is a js function:
<input type="text" ID="text1" value="Hello world!" />
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