Simulating a mouse click on a submit button in a KHTMLPart
Dirk Mueller
mueller at kde.org
Sat Aug 16 13:42:30 BST 2003
On Mon, 11 Aug 2003, Grimm, Cornelius wrote:
> I thought DOM::HTMLInputElement::click() would do, but it doesn't.
It doesn't do that yet because nobody need that feature yet.
> Any ideas? Or any ideas how I could send an EventImpl::DOMACTIVATE_EVENT to
> the inputs implementation?
sending events is done by dispatching them. (check for dispatchEvent).
However, an implementation of FormElement::click() is probably preferred.
--
Dirk
More information about the kfm-devel
mailing list