[webkit-dev] click event on a tag without jscript

Luka Napotnik luka.napotnik at gmail.com
Tue May 27 02:52:41 PDT 2008


Hello again.

Yes DOM seem to be the right thing for me. The only problem is I'm using
C/C++ not Objective-C. I've looked into WebCore/dom/Document.h and
that's the thing I need, the getElementById() method. Is there a way to
get this Document object from a WebView object or a WebFrame object?

Greets,
Luka

Dne 26.05.2008 (pon) ob 11:08 -0700 je Geoffrey Garen zapisal(a):
> > I want to know if it's possible to create a click event on a tag  
> > within
> > a page without using javascript. I know the tag name.
> 
> I assume you mean "without using JavaScript or the mouse."
> 
> Depending on the type of application you're writing, you could use the  
> Objective-C API to the DOM.
> 
> http://developer.apple.com/documentation/Cocoa/Conceptual/DisplayWebContent/Tasks/DOMObjCBindings.html
> 
> Cheers,
> Geoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: To je digitalno podpisan del =?UTF-8?Q?sporo=C4=8Dila?=
Url : http://lists.webkit.org/pipermail/webkit-dev/attachments/20080527/1a4b8096/attachment.sig 


More information about the webkit-dev mailing list