I think the easiest way is to give your button an id. Then call:
not sure about which group is appropriate...
> I'm writing a XUL app that occasionally needs to "click" on a submit
> button. Is there a way to do this simply? I've been told to createEvent
> "click" and then pass it on to the DOM, how's that done?
> And then, what is the appropriate newsgroup to discuss such matters?
> Thanks in advance ...
> mozilla-dom mailing list
> [hidden email] > http://mail.mozilla.org/listinfo/mozilla-dom >