http://msdn.microsoft.com/workshop/author/dom/domoverview.aspSome of the W3C DOM methods that allow authors to easily manipulate nodes are the cloneNode, removeNode, replaceNode, and swapNode methods. These methods provide copy, move, and delete functionality to the entire document tree. Understanding how a node interacts with other nodes helps keep a document clean and the client-side script stable. For example, consider the following list code
可以使用DHTML特性,把发言的内容隐藏起来。点击链接时,再把内容展开。就像CSDN那样。
或者设置过期时间限制,只显示最新的n条。采用服务器端编程应该是很容易的。如果靠客户端脚本,也可以实现,你可以在脚本中调用xmlhttp发送请求,然后把得到的内容利用DHTML的特性填充到展开的部分。