I'm trying to clone an element, more specifically a fieldset tag. Original HTML: <fieldset>Hello World.</fieldset>
Javascript: $("fieldset").each(function(count,item){ var fieldsetBlock = $(this).append($(this).clone()) }) Desired HTML: <fieldset>Hello World.</fieldset> <fieldset>Hello World.</fieldset> Undesired Result: <fieldset> Hello World. <fieldset> Hello World. </fieldset> </fieldset> I hope this is a trivial question. Thanks in advance jquery friends! Any help is appreciated.