[webkit-dev] javascript focus event

robbet robbet robbetwk at gmail.com
Mon Nov 10 18:31:37 PST 2008

Hi, all

I want to got the javascript focus action when webkit parse one html page
that include javascript.
just like:
*<html xmlns="http://www.w3.org/1999/xhtml">
  <title>js focus</title>
    function loadfun()
    var a = document.getElementById("inputid");
<body onLoad="loadfun()">
<input type="text" name="text" value="ip" id="inputid"><br />

when webkit parse the code, i need to know whether a.focus is executed, and
is this can be ? Give me some points.

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

More information about the webkit-dev mailing list