title: prototype : update tbody content dynamically
body: <p>I have below HTML, i am trying to update the content of tbody dynamically using ajax. I have response html all i want is to update the tbody content using prototype. Till now i have tried <code>$('table-body').innerHTML="html content here";</code></p>
  
  <pre><code>&lt;tbody class="table-body"&gt;
      &lt;tr&gt;
          &lt;td id="11" class="consumables model" width="15%"&gt;Aficion SP 20022&lt;/td&gt;
          &lt;td id="12" class="consumables type" width="15%"&gt;Print Cartridge&lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;Black &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;15000 &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;
          &lt;td class="consumables" width="25%"&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td id="10" class="consumables model" width="15%"&gt;Aficion SP 2002&lt;/td&gt;
          &lt;td id="12" class="consumables type" width="15%"&gt;Print Cartridge&lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;Black &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;15000 &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;
          &lt;td class="consumables" width="25%"&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td id="2" class="consumables model" width="15%"&gt;Aficion SP C242SF&lt;/td&gt;
          &lt;td id="14" class="consumables type" width="15%"&gt;Print cartridge SP 4100&lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;Magenta &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;50000 &lt;/td&gt;
          &lt;td class="consumables" width="15%"&gt;
          &lt;td class="consumables" width="25%"&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>