1 registered members (AndrewAMD),
718
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Stopping functions from running
[Re: MMike]
#150460
08/27/07 15:50
08/27/07 15:50
|
Joined: Aug 2005
Posts: 1,558 HK
vlau
Serious User
|
Serious User
Joined: Aug 2005
Posts: 1,558
HK
|
Maybe simply to use a flag to control the function execution like : Code:
var status = on;
function someFunction() { if (status == on) { // function contents //.... } }
|
|
|
|