<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi<br>
<br>
On 08/02/2014 05:24, Deepak Mittal wrote:<br>
</div>
<blockquote
cite="mid:CACNaj4imRK_JmsEx_34=O=j37sW1aOJVDYFQRZy0i7149yFNSg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>is support for document.all() supported in webkit..?<br>
</div>
</div>
</blockquote>
Yes, it is supported for HTML Documents.<br>
There are a few errors in your example that would prevent it from
working properly (the attribute language on <script> is not
closed, the function name has a typo, etc).<br>
<br>
There is a much easier way to find if something is supported or not.
If you go in Safari->Preferences...->Advanced, there is a
check box at the bottom to enable the Web Inspector (Show Develop
menu in menu bar).<br>
<br>
Once you have that enable, you can use the Web Inspector to
experiment with the engine. Also see
<a class="moz-txt-link-freetext" href="https://www.webkit.org/blog/2518/state-of-web-inspector/">https://www.webkit.org/blog/2518/state-of-web-inspector/</a> for an
small introduction to the inspector.<br>
<br>
Cheers,<br>
Benjamin<br>
<br>
<blockquote
cite="mid:CACNaj4imRK_JmsEx_34=O=j37sW1aOJVDYFQRZy0i7149yFNSg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>As the below code :<br>
<br>
<html><br>
</div>
<div><head><br>
</div>
<div><script language="javascript><br>
</div>
<div>function setIframeScize(){<br>
</div>
<div>var frame = this.document.all("1");<br>
</div>
<div>alert(frame);<br>
}<br>
</div>
<div></script><br>
</div>
<div></head><br>
</div>
<div><body onload=<a class="moz-txt-link-rfc2396E" href="javascript:setIframeSize()">"javascript:setIframeSize()"</a>><br>
</div>
<div><p name="1" id="11">Hello11</p><br>
<p name="1" id="22">Hello22</p><br>
</div>
<div></body><br>
</div>
<div></html><br>
</div>
<div><br>
<br>
</div>
<div>I am getting frame variable as undefined.. <br>
<br>
</div>
<div>-- <br>
<div dir="ltr">
<div> </div>
<div>Regards</div>
<div>Deepak Mittal</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
webkit-help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:webkit-help@lists.webkit.org">webkit-help@lists.webkit.org</a>
<a class="moz-txt-link-freetext" href="https://lists.webkit.org/mailman/listinfo/webkit-help">https://lists.webkit.org/mailman/listinfo/webkit-help</a>
</pre>
</blockquote>
<br>
</body>
</html>