[jQuery] Inserting DOM objects with "after"

[jQuery] Inserting DOM objects with "after"

Hi,
I am trying to add a cloned select box using the following syntax but I
just get options added without the containing select.
var addclone = $('#toclone').get(0).cloneNode(true);
addclone.id = 'newid';
addclone.name = 'newname';
$('#afterme').after(addclone);
Is this a bug or am I misunderstanding how it should work.
Thanks
Rob
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/