That is correct. You have to have a tbody with an id attribute or a
thead with an id attribute for it to work correctly.
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
-----Original Message-----
From: rails-spinoffs-bounces (at) lists.rubyonrails.org
[mailto:rails-spinoffs-bounces (at) lists.rubyonrails.org] On Behalf Of
Gregory Hill
Sent: Monday, February 13, 2006 10:59 AM
To: rails-spinoffs (at) lists.rubyonrails.org
Subject: RE: [Rails-spinoffs] Insertion.top & tables
Maybe I'm mistaken, but I don't think putting a div inside a table is
valid HTML. You should probably use a tbody element.
Greg
-----Original Message-----
From: rails-spinoffs-bounces (at) lists.rubyonrails.org
[mailto:rails-spinoffs-
bounces (at) lists.rubyonrails.org] On Behalf Of Deco Rior
Sent: Monday, February 13, 2006 8:56 AM
To: rails-spinoffs (at) lists.rubyonrails.org
Subject: [Rails-spinoffs] Insertion.top & tables
I have had trouble making Insertion.top work with tables
I would like to do something like
<table>
<div = "newentry">
<tr><td> First entry</td></tr>
<tr><td> Second entry</td></tr>
</div>
</table>
so that Insertion.top inserts the new row above the first entry. So
far this has not worked. Has anyone else tried this?
Deco
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
********************
********************
This E-mail (and attachments) may contain confidential/privileged
information intended only for the named addressee(s). If you are
not an intended recipient, do not read, copy, disseminate or take
any action based on the content of this E-mail. Please notify the
sender by reply E-mail and erase this E-mail from your system. Your
assistance is appreciated. E-mail transmission may not be secure or
error-free. The company is not responsible for any loss/damage
arising from any virus transmitted.
********************
********************
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs