11 Replies Latest reply on Jun 17, 2007 6:20 PM by kglad

    How to control execution of function

    atlkhan Level 1
      I have this funtion which I want to have some control over depending on input.

      Like if input is 2 it should execute two time and if input is 3 than three times.

      Can someone please guide me how I can do that.

      Thanks




      this.onMouseDown=function(){
      .....................

      ....................

      ...................

      }