title: How to clear textbox in javascript that contains value of gridview row editing
body: <p>I have following ASP controls: a textbox , a gridview, an update button, and a reset button.</p>
  
  <p>When I click on the row editing button of a gridview row, then it fills the corresponding value in the textbox.</p>
  
  <p>My problem is that when I click on the reset button, it does not clear the textbox value that comes from the gridview row.</p>
  
  <pre><code>function btnReset_onclick() {
     document.getElementById("&lt;%= txtDescription.ClientID %&gt;").value = "";
  }
  
  protected void GridViewExpenses_RowEditing(object sender, GridViewEditEventArgs e)
  {
       lblExpenseDesc = GridViewExpenses.Rows[e.NewEditIndex].FindControl("lblDescription") as Label;
       txtDescription.Text = lblExpenseDesc.Text;
  }
  </code></pre>
  
  <p>How can I clear the textfield?</p>