title: Is is possible to delete Component HTML Content with JSF
body: <p>hi i have HTML content like:</p>
  
  <pre><code>&lt;div id="j_idt33:summary"&gt;
    &lt;ul id="j_idt33:summary2" class="summary"&gt;
      &lt;li style="margin-right: 85%; Color:red;"&gt;Some Error Message.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>i want when the user click on a button to clear all the contents of that DIV to get output like:</p>
  
  <pre><code>&lt;div id="j_idt33:summary"&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>is it possible to do something like that with JSF ?  or achieve that with JavaScript ? what do you suggest guys ?</p>
  
  <p>please advise.</p>