Re: [jQuery] Append prepend?
On Tue, Jan 12, 2010 at 4:36 PM, Dave Maharaj :: WidePixels.com wrote: > I cant seem to understand the logic behind these functions. append prepend > appendTo, prependTo Methinks you're very close! This what you're getting at? http://jsbin.com/elaja/edit Nathan
[jQuery] Append prepend?
I cant seem to understand the logic behind these functions. append prepend appendTo, prependTo I have: *** add new li from response here *** content content content so i get my response from the server and trying to get it to appear at the top of all the other li's and slide down with the hi-lighted effect. All i get is above the or under the last li. $('#sortable').append(response.html).slideDown('slow').highlightFade({speed: 3000}); $(response.html).hide().append('#sortable').slideDown('slow').highlightFade( {speed:3000}); Ideas where i went wrong? Dave