Looks like it could be a bug.
In the mean time use:
var t = $("#myTable")[0];
t.innerHTML = "<colgroup></colgroup>" + t.innerHTML;
Hmmm not sure this will work in IE.
Karl Rudd
On 3/14/07, Daemach <[EMAIL PROTECTED]> wrote:
>
> I'm not having any luck with the following 2 commands - is this a bug or
> something I'm missing? I've tried with <colgroup /> as well.
>
> $("#myTable").append("<colgroup></colgroup>");
>
> $("<colgroup></colgroup>").appendTo("#myTable");
> --
> View this message in context:
> http://www.nabble.com/Append-bug--tf3400052.html#a9468060
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/