That certainly was fast.
 
Thanks, just what i needed.
 
Dave

  _____  

From: Charlie Griefer [mailto:charlie.grie...@gmail.com] 
Sent: November-04-09 1:35 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Append Help


shot in the dark here... but prependTo()?


On Wed, Nov 4, 2009 at 9:01 AM, Dave Maharaj :: WidePixels.com
<d...@widepixels.com> wrote:


I am uploading images and once uploaded they appear in my sortable list.
 
I have 
success response:
 
$('<li></li>').appendTo('#sortable').fadeIn('slow').html(response);
 
page code:
<ul id="sortable" class="files">
<li>image1</li> -> are there when the page loads
<li>image2</li> -> are there when the page loads
<li>image3</li> -> are there when the page loads
 
<li>image4</li> -> newly added image appears here but I would like it to
appear above image1
</ul>
 
But I would like to have it appear at the top. What I have adds it to the
very bottom of the list. How can I have it appear at the top of the list?
 
Thanks
 

Dave




-- 
Charlie Griefer
http://charlie.griefer.com/

I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.

Reply via email to