[Javascript] Stop executing js code

Rodney Myers rodney at aflyingstart.net
Mon Jul 22 08:22:53 CDT 2002


function bigWork( ){
doA( );
doB( );
doC( );

if( condition )
    {
   doD( );
   doE( );
   doF( );
    }

}

hth

Rodney



Dan Costea wrote:

>     Hi, When an event fires, I have some js code that is executed
> (very many functions). But, in the middle of that code, if a condition
> is satisfied, I want to stop executing the js code. How can I do
> that?  Thanks, Dan.





More information about the Javascript mailing list