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 (Dan Costea)
  • Subject: [Javascript] Stop executing js code
  • Date: Mon, 22 Jul 2002 15:16:21 +0300

This is a multi-part message in MIME format.

------=_NextPart_000_006E_01C23192.BC7C1570
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

    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.

------=_NextPart_000_006E_01C23192.BC7C1570
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When an event fires,&nbsp;I have some =
js code that=20
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=20
that?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, Dan.</FONT></DIV></BODY></HTML>

------=_NextPart_000_006E_01C23192.BC7C1570--