T4 - async - pre-submit client side handler

2008-04-02 Thread Paul Stanton
Hi guys, I've got a @Form which submits async, and a @Submit. I've also got an onclick js event handler which is causing me some grief, but only for IE: When the submit button is clicked, in Firefox the js is called, and then the form submits as per expected. however in IE the js is called

Re: T4 - async - pre-submit client side handler

2008-04-02 Thread Paul Stanton
any ideas guys .. it seems dojo can't attach the ajax submit handler if i have an onclick on my button - therefore is there a way to pre-pend a handler after dojo has attached to the form aka registerForm? p. Paul Stanton wrote: Hi guys, I've got a @Form which submits async, and a @Submit.

Re: T4 - async - pre-submit client side handler

2008-04-02 Thread Andreas Andreou
dojo.event.connectBefore and make sure you stop the event (if you want to), otherwise the other connected function will get executed. On undefined, Paul Stanton [EMAIL PROTECTED] wrote: any ideas guys .. it seems dojo can't attach the ajax submit handler if i have an onclick on my button -