on 2007-2-2 0:58,Rob O'Rourke said the following:
Firefox places the tbody in when one is not specified, I think its an
XHTML thing where tbody is an implied element that you don't have to
write in. Why are you using javascript to create this output? If its
just for the look of it tack a class name onto the first tr or better
yet see if you can modify the asp to write it out how you want.
Alternatively you could try using an HTML 4.01 doctype though I can't
remember if firefox still puts the tbody in or not.
HTH,
Rob
It works :$("<thead></thead>").append($("#DataGridResult
tr:first")).prependTo("#DataGridResult");
thank Dave Methvin
-----------------
Use javascript to create this output,I want to use only a classname to skin the
table.
the class is like this:
table.DataGrid{}
table.DataGrid thead td{}
table.DataGrid tbody td{}
you say HTML4.01's Alternatively ,do you mean I don't need to write
"tr.odd{...}"?
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/