jquery - 我的博客有一个 jquery 评论插件,但我不知道评论存储在哪里?

标签 jquery html css plugins

标题

<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/

相关文章:

javascript - 在模态弹出窗口中设置 iFrame 的透明度

html - 将下拉菜单列表项设置为相同的宽度

html - 在中心显示内联的 div

javascript - 使用javascript一键切换两种背景颜色

css - 如何更改wordpress网站主题的背景颜色

在 div 中调用时不显示 jQuery SlidesJS 插件

javascript - 在页面中加载 div 而不刷新整个页面

jquery - 如何在 3 秒后显示导航栏?

Jquery datepicker 仅可选择 1 天,并在下一个输入中复制日期 +x 天

javascript - 在 HTML 表单中使用 JQuery 动态下拉菜单 (PHP)