I decided it was best to not use clone in my situation, I used append
instead.

I would append the html onto a div, assigning it a unique id each
time.

Then I deleted the item based off that id.

Seems to work great, plus a great way to add extra fields to a
form. :-)

On Jan 8, 8:46 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Do you mean removing an item that has been cloned and then inserted  
> into the DOM? It's easy to do with .remove(), but you'll need to bind  
> the event handler after the element has been inserted. Details here:
>
> http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...
>
> It talks about events after an ajax request, but the same applies to  
> plain DOM insertion.
>
> --Karl
> _________________
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jan 8, 2008, at 5:05 PM, yabado wrote:
>
>
>
> > I have seen examples of cloning items, but not how to remove them.
>
> > Is this possible with jQuery?
>
> > I like this example, but it is not built on JQ...
>
> >http://host.sonspring.com/cloner/
>
> > Has anyone done this using JQ?

Reply via email to