Skip to main content

Bug Tracker

Side navigation

#3233 closed bug (invalid)

Opened August 08, 2008 02:11PM UTC

Closed August 08, 2008 10:31PM UTC

Appending and Prepending in table doesn't work in Firefox

Reported by: jeverling Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Firefox table appendTo prependTo Cc:
Blocked by: Blocking:
Description

I have a table like this:

<table>
<tr id="t1">
<td style="width:150px;height:150px;background-color:red;">
</td>
</tr>
<tr id="t2">
<td style="width:150px;height:150px;background-color:green;">
</td>
</tr>
</table>

Now I want to do this:

$('#t1').appendTo('#t2');

This works.

But in Firefox, #t1 is now located on the right hand side of #t2.

In Internet Explorer everything works as expected (#t1 below #t2).

PrependTo is the same.

I tried with jquery 1.2.6.

Firefox is Version 3.0.1.

Attachments (0)
Change History (1)

Changed August 08, 2008 10:31PM UTC by flesler comment:1

resolution: → invalid
status: newclosed

You can't append a tr inside another tr, they must always be children of a table or tbody/thead.