开发者

How to add to TOP of unordered list with jQuery

开发者 https://www.devze.com 2022-12-17 12:42 出处:网络
I\'ve created a Facebook/Twitter like status update and can add the new status to an element. I recently found a great article that explains \"How to add items to an unordered list using jquery\" but

I've created a Facebook/Twitter like status update and can add the new status to an element. I recently found a great article that explains "How to add items to an unordered list using jquery" but I'm not skille开发者_开发技巧d enough to edit it to make it add to the TOP of my unordered list.

Any help would be greatly appreciated.


Use the prepend method instead of append.

0

精彩评论

暂无评论...
验证码 换一张
取 消