Yes, it didn't make sense...I found out the hard way after getting though
things that clone() was the wrong way to go. But, at least I learned how it
worked...another nice Jquery tool.

I ended up simply using the div id's and prependTo() to work things out.

Thanks



Vaskerville wrote:
> 
> I'm having the worst time working with clone(). It returns an
> object...still can't access it.
> 
> What I'm doing is looping through a list of divs (same class) and trying
> to clone each one. I want to clone them so that I can reorder them.
> 
> var html;
> 
> // in the loop
> html += $('#myDiv-' + id).clone();
> 
> Is what I think should work...but I just get objects.
> 
> Any tips here on this one?
> 
> Thanks
> 

-- 
View this message in context: 
http://www.nabble.com/How-does-clone%28%29-work--tp20731606s27240p20736536.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to