title: change controlname dynamically in javascript
body: <p>I have a some problem </p>
  
  <p>i.e i have a 60 text box controls in asp page i want to text box text to empty so , i am using like below</p>
  
  <pre><code>var st = document.getElementById("&lt;%=hiddenrate.ClientID%&gt;").value;//Total Control names
  
  var controlnames = st.split(','); //split with comma 
  
  var i = 0;
  for (i = 0; i &lt;= controlnames.length; i++)
  {
      var gh = '' + '.SetText(' + "'Empty text'" + '' + ');';
  
      ft[i] + gh;
  
      //example rate1.SetText('');
  
      rate2.SetText('');
      '
      '
      rate60..SetText('');
  }
  </code></pre>
  
  <p>but in javascript is that control name and property  </p>
  
  <p>How to set text as empty in total controls dynamically?</p>
  
  <p>Thanking You,</p>
  
  <p>Rajesh</p>