Alright, I figured this out.

This is what I was doing earlier -

<table id="test">
  <tr>
    <td>Test</td>
  </tr>
</table>

new Insertion.Bottom('test', '<tr><td>Test2</td></tr>');


New Code:

<table>
  <tbody id="test">
    <tr>
      <td>Test</td>
    </tr>
  </tbody>
</table>

new Insertion.Bottom('test', '<tr><td>Test2</td></tr>');

Now, this one works :))))

So, rule of thumb, use tbody and not table to append <tr>'s to a table.

Thank you,
Mandy.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to