On Dec 29, 9:26 pm, PhistucK <phist...@gmail.com> wrote:
> There is no event handler because it does what it should be doing (it is an
> input of the Submit type). It submits the information.
> You can add an event listener to it with something like this -
> var ppp = document.getElementById("send_button");
> ppp.addEventListener("mouseup",function(){});
>
Yes, it submits it, but to where? I need to be able to resubmit the
form, after I massage it a bit.
> Or, you can add an onsubmit event to its containing "<form>" (note that
> usually, you should put there something like "onsubmit='return blabla()'"
> and not only "onsubmit='blabla()'").
>
> ☆PhistucK
>
>
>
> On Wed, Dec 30, 2009 at 01:29, FractalBob <ruom...@gmail.com> wrote:
> > I'm working on an extension that enhances Google Groups and one of the
> > things I need to do is intercept mouse press events on the Post button
> > in the message compose window. After that, I'll check the state of a
> > check box and either forward the event on to the standard window event
> > handler or do some processing first and then forward the event.
>
> > The problem is that when I looked at the HTML for the page, I don't
> > see an action handler for the form. Does anyone know how mouse press
> > events get propagated in the compose window?
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.
> > To post to this group, send email to chromium-extensi...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2Bunsu 
> > bscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/chromium-extensions?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to