title: Clear multiple textbox using JavaScript on button click
body: <p>I working in <code>Asp.net c#</code>. I have a task to clear multiple <code>textbox</code> on <code>button click</code>, but now according to the requirement I have to use <code>JAVASCRIPT</code>. So I can't do that with <code>C#</code> code.
  Now I am using the following : </p>
  
  <p><strong>JAVASCRIPT</strong> Function <strong>:</strong></p>
  
  <pre><code>function clrCtrl() {
      document.getElementById('TextBox1').value = "";
  
  } 
  </code></pre>
  
  <p>with this method the line of is greater. Now when I have 20 30 of textbox this code is not efficient so plz give me any suggestion to this....</p>