winion wrote:
  I want to capture the form submit event, and determine if I should or
should not really submit the form data. I inherited from the
nsIDOMFormListener, but it looks that I should register the event. I looked
through the Mozilla source, but couldn't find out how to register the event.
Can any one give me some advise? And by the way, how to register event
handlers to capture events?
  Thanks


Have you looked at this:

http://lxr.mozilla.org/seamonkey/ident?i=nsIFormSubmitObserver

(note that this interface isn't public/frozen and is subject to change)

--
Doug Turner
[EMAIL PROTECTED]




Reply via email to