title: jQuery - remove user input text from textarea
body: <p>Okay I have a list of devices where i can select which to edit.
  I have 3 states for the edit. When no devices are selected, when 1 device is selected or when x devices are selected.</p>
  
  <p>The problem i have is when a user type some text in the textarea (commentField) and cancels the edit to edit another device, the text there was typed in the textarea won't disapere. It stays so when i get the new dialog for the new edit, the commentfield has the text from the old commentField (as if it wasn't cleared)</p>
  
  <p>I have tried the following codes to remove the text (both when then cancel button is pressed and when i start a new dialog), but nothing works:</p>
  
  <pre><code>$("#commentField").text(" ");
  $("#commentField").value = ' ';
  </code></pre>
  
  <p>Is there anyone who knows how to remove user-typed text from a textarea using jQuery??</p>
  
  <p>Thanks in advance.</p>
  
  <p>-Thor</p>