开发者

How to add to TOP of unordered list with jQuery

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜