[jQuery] clone() not maintaining "checked" state of cloned checkbox inputs

[jQuery] clone() not maintaining "checked" state of cloned checkbox inputs


I'm using the following code to get all selected checkboxes from my
html page and copy them into the form I'm about to submit:
$
("input[@name='BatchItem']:checked").clone().appendTo("#checkboxContainer");
I'm pretty certain that with previous versions of jquery (specifically
1.2.1), this was working for me, but since I've upgraded to 1.2.3, the
cloned checkboxes are no longer checked when the form is submitted.
I've had to add additional code to specifically re-check them after
the cloning.
Has anyone noticed similar behavior? It seems to me that the "checked"
state should be maintained during cloning.
Thanks,
Jim