I managed to get the Element form the Document object. The problem now is I can't send a click() event on that element like in JavaScript:
document.getElementById(myid).click() Any ideas? Greets, Luka Dne 27.05.2008 (tor) ob 11:52 +0200 je Luka Napotnik zapisal(a): > 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
signature.asc
Description: To je digitalno podpisan del sporočila
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

