title: How can I call JavaScript function in a loop
body: <p>I would like to call JavaScript function many time . I have tried like that<br>
      In Script  </p>
  
  <pre><code> function changeIt(strgr , idx) {
      //SomeCode
      return;  
   }    
  </code></pre>
  
  <p>In C#  </p>
  
  <pre><code> protected void btn_Click(object sender, EventArgs e)  
   {  
        string strgr = 001;
        for(int i=0; i&lt;3; i++)  
        {  
            base.RunScriptBottom("changeIt(" + strgr + "," + i + ");");  
        }
   }  
  </code></pre>
  
  <p>But it call the script function only one time.
  What could I do.<br>
  With regards</p>