Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Stop executing js code


  • From: javascript@xxxxxxxxxx (Rodney Myers)
  • Subject: [Javascript] Stop executing js code
  • Date: Mon, 22 Jul 2002 14:22:53 +0100

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.