[webkit-dev] how to konw the identifier

张正和 zzh18918 at yahoo.com.cn
Thu Mar 26 03:12:43 PDT 2009

Hi all
There is a js function:
<input type="text" id="text1" value="Hello World" />
function test(){ alert(text1.value); }

when webkit obtains an identifier(e.g. text1),how does webkit parse the identifier and how to konw that the identifier is the <html>'s ID?

where is the <html>'s ID stored?
thank you & bast regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090326/52d32e23/attachment.html>

More information about the webkit-dev mailing list