标题
<title>EasyComment Sample</title>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript" src="http://example.com/jquery.easy-comment.min"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
// Your other javascript code if any
$("my-comment").EasyComment({
path:"example.com/easy-comment", //Change it to the folder where you put the easycomment files
moderate:false,
maxReply:5
});
// Your other javascript code if any
});
</script>
正文
<h3>EasyComment Sample</h3>
<div id="my-comment" style="width:800px;height:800px;"></div>
真的找不到,连评论都不显示。我应该为这个工作做一些服务器端脚本吗?如果是这样,请指导我 tysm
最佳答案
你需要在“my-comment”前面加一个“#”来选择Id
$("#my-comment").EasyComment({
path:"rechargedroid.com/easy-comment", //Change it to the folder where you put the easycomment files
moderate:false,
maxReply:5
})
;
关于jquery - 我的博客有一个 jquery 评论插件,但我不知道评论存储在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35137218/