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";>
<head>
  <title>js focus</title>
  <script>
    function loadfun()
    {
    var a = document.getElementById("inputid");
    a.focus();
    }
  </script>
</head>
<body onLoad="loadfun()">
<input type="text" name="text" value="ip" id="inputid"><br />
</body>
</html>*

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

thanks
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to