[webkit-dev] issue: accessing DOM elements directly, without using getElementById() from inside javascripts

Deshpande, Raghavendra raghavendra.deshpande at philips.com
Wed Nov 12 02:58:39 PST 2008


Hi All,

    In Gtk-Webkit browser,  we are facing issues with respect to accessing DOM elements directly, without using getElementById() from inside javascripts. We have many XHTML pages written already, without using getElementById() and all the pages are perfectly working fine in Opera.

As "Chrome" is built using webkit, I tried testing the pages on 'Chrome'. To my surprise, the same files worked fine in 'Chrome'.

Then, I tried with Safari, (latest nightly updated), the behavior is same as Gtk-Webkit. It throws, "Can't  find variable: DOM element name"

Have any of you faced such an issue?, Is there any fix for it?
As we can't change the pages now, Is there any temporary hack?

Warm Regards,
Raghavendra



________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081112/ec5746da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dom_direct2.xhtml
Type: application/octet-stream
Size: 927 bytes
Desc: dom_direct2.xhtml
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081112/ec5746da/attachment.obj>


More information about the webkit-dev mailing list