我有 div 之类的评论
<div>
<div>
Some message over here
</div>
<div style = "height:10px;"> <a id = "post_id_1" class = "showReply" href = "javascript: void(0)">Reply</a></div>
</div>
我的回复框
<div id="replymsgbox" style="display: none;">
<form id="frmComment" novalidate="novalidate" method="POST" name="frmComment">
<div>
<textarea id="comment_text" class="" name="comment[text]"></textarea>
<div id="error_text"> </div>
</div>
<div>
<input type="submit" value="Post" name="Submit">
</div>
</form>
</div>
我的jQuery:
//showCommentBox
$('a.showReply').live("click", function(e){
$('#replymsgbox', $(this).parent().next()).slideToggle('fast')
});
有没有人能帮帮我。我无法打开回复 div 或表单。我在哪里做错了