oh ! thanks ! var form = e.element ( ) ; if ( invalid ) { alert ( "invalid" ) ; e.stop ( ) ; return ; }
forn.Request ( ) ; e.stop ( ) // Stop anyway ; On Dec 30, 5:26 am, kangax <kan...@gmail.com> wrote: > On Dec 29, 3:27 pm, "K.C.Leung" <z4423...@gmail.com> wrote: > [...] > > > <script type="text/javascript"> > > var testForm = $( "testForm" ) ; > > > testForm.observe ( "submit", function ( e ) { > > alert ( "submit" ) ; > > return false ; // return false is meaningless. It is continue > > e.stop(); > > [...] > > -- > kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---