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 <[email protected]> wrote:
> On Dec 29, 3:27 pm, "K.C.Leung" <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to