[webkit-dev] issue: accessing DOM elements directly, without using getElementById() from inside javascripts
Luka Napotnik
luka.napotnik at gmail.com
Wed Nov 12 03:05:50 PST 2008
I attached a patch where the function
webkit_web_frame_click_element_by_id(WebKitWebFrame *frame, char *id)
does exactly what you want.
Greets,
Luka
Dne 12.11.2008 (sre) ob 11:58 +0100 je Deshpande, Raghavendra
zapisal(a):
> 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.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-visionect.patch
Type: text/x-patch
Size: 6706 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081112/3956e724/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: To je digitalno podpisan del sporo?ila
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20081112/3956e724/attachment-0001.bin>
More information about the webkit-dev
mailing list