[jQuery] Re: having a hard time finding the parent...

2009-07-09 Thread Vaskerville
$('#' + obj.id).parent().find('.section-secondary').length; Yes...that is what basically ended up going the trick. I needed to be a bit more specific. What I realized was that I didn't need the entired of the particular ul group because each subgroup indicates the 'section-secondary'. Confusing..

[jQuery] Re: How does clone() work?

2008-11-28 Thread Vaskerville
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 Vaskerv

[jQuery] How does clone() work?

2008-11-28 Thread Vaskerville
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();