Jquery prev方法造成了事件的冒泡 求人进来看看
页面部分
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<#if messagelist != null>
<#list messagelist as message>
<div id="${message.id}_">
<span style="height:30px;line-height:26px;margin-left:30px;">${message.title}</span>
<div>
<span style="height:30px;line-height:26px;margin-left:60px;">${message.content}</span>
<a href="javascript:void(0);" onclick="javascript:showRDiv('${message.id}','${message.hydm}','${message.hyJc}','${message.id}');">回复</a>
<#if membId==message.hydm>
<a href="javascript:void(0);" onclick="deleteMessage(${message.id});">删除</a>
</#if>
<#if message.children != null>
<#list message.children as messagel>
<#if messagel!= null>
<div id="${messagel.id}_">
<span style="height:30px;line-height:26px;margin-left:100px;">${messagel.hyJc} :@${messagel.hzJc} ${messagel.content}</span>
<a href="javascript:void(0);" onclick="javascript:showRDiv('${message.id}','${messagel.hydm}','${messagel.hyJc}','${messagel.id}');">回复</a>
<#if membId==messagel.hydm>
<a href="javascript:void(0);" onclick="deleteMessage(${messagel.id});">删除</a>
</#if>
</div>
</#if>
</#list>
</#if>
<div id="${message.id}" style="margin-left:100px;display:none;">
<textarea rows="4" cols="40"></textarea><br/>