title: how to append a number to a function name to create many functions?
body: <p>i ve a function which is responsible for some validations, disabling and enabling of some text boxes and a group of radio buttons .... </p>
  
  <p>now i want to generate the function name to be called from another function using a for loop and then appending the for loop index to the function in question ....</p>
  
  <p>something like this .....</p>
  
  <pre><code>function unCheckRadio(num) 
  {
    var cont = num;
    var form = document.angular;
  
    for (var i = 0; i &lt; cont; i++) 
    {
       alert(form['lim_set'+i].length);
       for(var j = 0; j &lt; form['lim_set'+i].length; j++ )
       {
         form['lim_set'+i][j].checked = form['lim_set'+i][j].defaultChecked;
       }
       makeChoice_ang();
    }
  
  }
  </code></pre>
  
  <p>here i want to append the index i to the makeChoice_ang() function ....</p>
  
  <p>tried many ways .... but no go ...</p>
  
  <p>i tried using this .... 'makeChoice_ang'+i;</p>
  
  <p>but this is making it an string .... </p>
  
  <p>Please help me out or atleast point me in the right direction ....</p>
  
  <p>Thanks a million in advance !!</p>