Hi On 08/02/2014 05:24, Deepak Mittal wrote: > is support for document.all() supported in webkit..? Yes, it is supported for HTML Documents. 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).
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). Once you have that enable, you can use the Web Inspector to experiment with the engine. Also see https://www.webkit.org/blog/2518/state-of-web-inspector/ for an small introduction to the inspector. Cheers, Benjamin > > As the below code : > > <html> > <head> > <script language="javascript> > function setIframeScize(){ > var frame = this.document.all("1"); > alert(frame); > } > </script> > </head> > <body onload="javascript:setIframeSize()"> > <p name="1" id="11">Hello11</p> > <p name="1" id="22">Hello22</p> > </body> > </html> > > > I am getting frame variable as undefined.. > > -- > > Regards > Deepak Mittal > > > _______________________________________________ > webkit-help mailing list > webkit-help@lists.webkit.org > https://lists.webkit.org/mailman/listinfo/webkit-help
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-help